Repeater with DataGrid embedded in ItemTemplate

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top