Carole,
Right click on the grid, select Property Builder, go to Columns and click
on the "covert this column to Template Column".
Exit the Builder and right click the grid again, select Edit Template
Columns and select the desired column. You can now remove the text box
that was provided and drag the desired control in the template column,
this allows you edit the properties and bind the control to a datasource.
I used these command to get the value from my list (which was not
databound):
Dim TempList As DropDownList = e.Item.FindControl("lstUpdStatusCodes")
Dim operatorStatus As String = TempList.SelectedItem.Value
Controls in datagrid cannot be accessed directly, you must use
the 'FindControl' to locate the control.
Carole D. Sullivan
> is it possible to put a DropDownList or ListBox in a Data Grid and bind
t> hat DropDownList or ListBox to a SQL Server table when the Data Grid is
b> ound?
> I'd like to use a data grid for user input, but limit the user to a set
of
v> alues found in a table.
> if so, where can i find a sample of the proper syntax?