J
John A Grandy
I need to display data for a rowset returned from a query, however each
row's worth of data must be followed by a checkbox ( which does not
correspond to any column of the rowset ).
So, one line for each col in the row , and then a checkbox. Repeat for next
row.
What I've been playing with is the following :
1. in .aspx , a Repeater an ItemTemplate containing a DataGrid and a
CheckBox ,
2. in aspx.cs , a List<CustomDataStruct> where CustomDataStruct contains a
DataTable and CheckBox
So , the Repeater.DataSource = List<CustomDataStruct> ...
However , on Repeater.DataBind() , no data is displayed on the page.
row's worth of data must be followed by a checkbox ( which does not
correspond to any column of the rowset ).
So, one line for each col in the row , and then a checkbox. Repeat for next
row.
What I've been playing with is the following :
1. in .aspx , a Repeater an ItemTemplate containing a DataGrid and a
CheckBox ,
2. in aspx.cs , a List<CustomDataStruct> where CustomDataStruct contains a
DataTable and CheckBox
So , the Repeater.DataSource = List<CustomDataStruct> ...
However , on Repeater.DataBind() , no data is displayed on the page.