Hello,

I was hoping to find help with creating a dropdown list in a gridview. The gridview is built from a database table. The dropdown needs to display data from another related table. When a user makes a selection from the drop dwon, the change to the data needs to happen right then. The drop down is the only editable field in the gridview. Can someone point me to a sample or ecample that does this? I am using ASP.Net and C#. Thanks.

Recommended Answers

All 2 Replies

in itemdatabound event u can attach the specified table to the dropdownlist.
in row command event u can achieve the functionality u want on the data.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.