Next GridView Question - how do you add a DropDown to an autogener

G

Guest

sometimes my GridView will need to allow users to edit given columns using a
DropDown. how can I do this if the columns are autogenereated?

(The one grid displays columns from any one of 20 or so tables)

Guy
 
T

Teemu Keiski

Just add a TemplateField to it , and add DDL to the ItemTemplate. Explicitly
generated columns will appear first and then the auto-generated ones. If
this doesn't work for you, declare all the fields manually.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top