473,387 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Gridview DropdownList while Editing

92
Hi,

Can anyone suggestion me, how to add dropdownlist in gridview while edit particular record. when i click edit command in gridview, it should display its dropdownlist with DB field Values from one table in C#.net with SQL


Thanks in Advance
May 20 '08 #1
1 4015
dip_developer
648 Expert 512MB
Hi,

Can anyone suggestion me, how to add dropdownlist in gridview while edit particular record. when i click edit command in gridview, it should display its dropdownlist with DB field Values from one table in C#.net with SQL


Thanks in Advance
have a look at this excellent article .............
http://www.codeproject.com/KB/webfor..._GridView.aspx

Also look at...........

http://www.gridviewguy.com/ArticleDe...?articleID=169

http://www.aspnettutorials.com/tutor...ew-csharp.aspx
May 27 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: JDC | last post by:
Hi all, How do I allow or disallow editing in a GridView on a row-by-row basis, depending on the value of a field in that row? TIA, JC
3
by: Andrea | last post by:
The Gridview's RowDeleting event, give the power - cycling the e.Keys Dictionary, to discover the values of the Primary key fields of the dataset setup throught the DataKeyNames. Since I want to...
0
by: Ben | last post by:
Hi, It's about a database containing (for simplifying) three fields: 'placenr' (primary key), 'place' and 'color'. The records are updatable (Edit/Update button) in a gridview. For updating the...
0
by: Frenchie | last post by:
I have a Gridview with a checkbox on each row. I would like to be able to select 1 or more rows and edit one of the fields in each of these rows. Basically, I dont want my users to have to edit...
3
by: cpnet | last post by:
I have a GridView which I'm populating from an ObjectDataSource (give the GridView a DataTable). The GridView will have about 20 rows, and only one editable column. The editable column consists...
3
by: Jon Paal | last post by:
this text keeps showing up in my gridview dropdownlist "System.Data.DataRowView" How do I prevent this problem ?
3
by: Brian VanDyke | last post by:
I have to display a table with customer data (GridView). However, I want to be able to show DropDownList controls inside one of the columns, not just textbox controls. Is this possible? Is it...
5
by: =?Utf-8?B?Z3V5?= | last post by:
How do you enable editing in a GridView programatically rather than via its Tasks menu? Guy
11
by: SAL | last post by:
Hello, I have a Gridview control (.net 2.0) that I'm having trouble getting the Update button to fire any kind of event or preforming the update. The datatable is based on a join so I don't know...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.