views:

69

answers:

2

How to create a GridView with a DropDownList column dynamically/Programmatically?

My intent is, I shall only add a bare GridView on the aspx page (I wouldn't even add ItemTemplate in design-time). All of the other things, creation of the control to population of data, would be done in the code behind.

Any known web link?

+1  A: 

You have to handle the RowDataBound event and populate the correct information there.

ck
Thanks to me, I found this, [ http://www.eggheadcafe.com/community/aspnet/7/10028537/how-to-add-template-colum.aspx ]
JMSA