Creating an ASP.NET GridView Custom Field of type DropDownList
Last Updated: 30 Nov 2008
Page Views: 20,287
Rating: 4.32/5
Votes: 13
Popularity: 4.81
Bookmark Count: 17
Licence: The Code Project Open License (CPOL)
Sometimes you need to use a DropDownList in a GridView in a way to see the text of the field and save the value to the database. Here we extended the “BoundField” class, and add features to create a column type of “DropDownList”.