How to create a dropdown list column in a datagrid in ASP .Net

doraemon

Freshman
Joined
Oct 3, 2003
Messages
36
I have been searching through the column and knew that it's possible to do a dropdown list column in a datagrid in ASP .Net. But I could not find any example in doing so. I'm very new to ASP .Net. If anyone can provide any help or if there is a sample solution around, it will greatly be appreciated. Thanks.
 
You need to add your dropDown to a "<asp:TemplateColumn>" tag and if you want it only whilst in edit mode then also use <EditItemTemplate> tags
 
Back
Top