How to generate grid view with "autogeneratecolums=true" and how to fill this gridview with dropdownlists dynamically

Recommended Answers

All 2 Replies

You must have to create a TemplateField to add DropDownList control in it and later you can bind (or populate) it with GridView.RowDataBound event.

You've to post the code you've tried so far.

you have to create a Template field with a dropdown item template and fill it in the DataBound event

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.