How can I programmatically bind data to a dropdown list (combobox) in a gridview control for ASP 2.0. I have a dataset that I am using to bind data to a gridview control that has all columns as labels. I am using the following code to bind my data:
'This method gets me the data to the TVData datatable variable
TVData = objSQL.GetHeader(ClientCode, DivisionCode, Market, Year, Month, MediaType)
'Here I am binding my datatable to my gridview control
gvTV.DataSource = TVData
As a result I see all my label columns in the gridview populated with the data. However my column containing the combo box is not populated. Any ideas or code, is there any event where you have to write that code?
Thanks in advance