Click here to Skip to main content
14,976,254 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am doing an application like edit gridview with dropdownlist column through dataset. I was passing gridview values through dataset and dropdownlist. When I was clicking the edit button it's not working.

Please help me.
Posted
Updated 16-Dec-10 23:53pm
v3
Comments
Ankur\m/ 17-Dec-10 5:54am
   
Let me make it more clear,
you have a GridView which is bound to a DataSet. One of the column in GridView has DropDownList.
You also have a Edit, Update, Cancel CommandField column in the GridView.
Now when you click edit, it doesn't work?

Is this your problem?
If yes, did you get any error? Did you try debugging? Is the page posting back after you click edit? You have to be more specific.
If no, please clarify.

1 solution

Have a look at these articles to understand how it works:
Editable GridView in ASP.NET 2.0[^]
Adding a DropDownList to an Editable DataGrid[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900