gridview with edit button / drop down

like I have asp.net/c# gridview with drop down inside one of the columns. when edit button is clicked, and I want that drop down to be able to capture the value from the database.

How can I do that?
CoolDev2014Asked:
Who is Participating?
 
sammySeltzerConnect With a Mentor Commented:
Well, you might get some help by providing a bit more information with some supporting code.

What I posted was a "guess" as to what you have and what you are trying to do.
0
 
sammySeltzerCommented:
If you use ItemTemplate within ObjectDataSource, it makes things so much easier for you.

This link provides not just examples but source code to make help you.

http://www.codeproject.com/Articles/23402/DropDownList-as-ItemTemplate-within-a-GridView-wit
0
 
CoolDev2014Author Commented:
I don't use ObjectDataSource
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.