Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DropDownList in a DataGrid

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
We have a DataGrid on a Web Form that has a dynamic DataView / DataTable as it's source - this meaning that we have a dynamic number of columns to display to the user.
We want one of the columns to have a DropDownList in it when we put the row into edit mode.
The position of this column will change depending on the number of columns within the underlying DataView / DataTable.
We're able to set the DropDownList at design time against a specified column.
However, how can we do this at run time ? (not knowing the position of the column until we actually create the page).
Any starting point(s) would be greatly appreciated.
Thanks in advance.
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top