I may be just overlooking something in the examples but how do you programatically make a column in the grid be a drop down list when the datasource is a runtime only table.
What I want is a 2 column unbound grid with 20 rows and the first column is a drop down list with all of the field names from a sql table.
What I'm doing is creating a in memory datatable with 2 columns and 20 blank rows and making this the datasource for a RadGrid.
Then I want to make the first column of the grid be a drop down list with the fieldnames from an sql table.
The grid should start out in edit mode and then save the users entries for both columns in the underlying datatable so that I can loop through the datatable and use the fieldnames and value pairs for an update string.
This seems straight forward but I haven't been able to make it work yet.
Any help would be greatly appreciated.
What I want is a 2 column unbound grid with 20 rows and the first column is a drop down list with all of the field names from a sql table.
What I'm doing is creating a in memory datatable with 2 columns and 20 blank rows and making this the datasource for a RadGrid.
Then I want to make the first column of the grid be a drop down list with the fieldnames from an sql table.
The grid should start out in edit mode and then save the users entries for both columns in the underlying datatable so that I can loop through the datatable and use the fieldnames and value pairs for an update string.
This seems straight forward but I haven't been able to make it work yet.
Any help would be greatly appreciated.