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
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