R
Richard Kirk
Hi there,
I'm quite new to asp.net, but know exactly how to do this using classic ASP,
but would like some pointers for aspnet2.
I've got data being returned from an SP which looks like this:
HeaderItem ChildItem
A A1
A A2
A A3
B B1
etc
I want to display the data like this
A - This is the header record
A1
A2
A3
B - Header 2
B1
etc.
In classic ASP I'd write out my header row html when HeaderItem changes
value and then write the Child Rows.
As I've only got one DataSource to work with it doesn't look like I can use
embedded Repeaters (I can't get A and then get all the children).
Any suggestions as to which controls I should be using, and some pointers on
what I should be doing in my RowDataBound, etc.
Any help (or example links) most welcome.
Thanks.
I'm quite new to asp.net, but know exactly how to do this using classic ASP,
but would like some pointers for aspnet2.
I've got data being returned from an SP which looks like this:
HeaderItem ChildItem
A A1
A A2
A A3
B B1
etc
I want to display the data like this
A - This is the header record
A1
A2
A3
B - Header 2
B1
etc.
In classic ASP I'd write out my header row html when HeaderItem changes
value and then write the Child Rows.
As I've only got one DataSource to work with it doesn't look like I can use
embedded Repeaters (I can't get A and then get all the children).
Any suggestions as to which controls I should be using, and some pointers on
what I should be doing in my RowDataBound, etc.
Any help (or example links) most welcome.
Thanks.