I have a stored procedure that give some data that are sorted by Col1,
Col2, Col3, Col4.
I have a picture which tells you how I want the data to be presented
in a web form. Click below to see the picture.
http://gnewsgroup.googlepages.com/rowspanajacentcellswiththesamevalue
It's basically a tabulation of a tree. For a given column, if an
entry has been displayed, don't repeat it. Thus we need rowspan (as
shown in the picture) or colspan (not shown in the picture).
I know that I can construct the table by spitting out the tr and td
elements, but I am wondering if there is an easier way to do it.
Any thought to share?
Mark Rae [MVP] - 02 Feb 2008 10:08 GMT
> I know that I can construct the table by spitting out the tr and td
> elements, but I am wondering if there is an easier way to do it.
You could use an <asp:Repeater> but, as you say, an <asp:Table> is probably
the simplest way...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
gnewsgroup - 03 Feb 2008 04:18 GMT
> > I know that I can construct the table by spitting out the tr and td
> > elements, but I am wondering if there is an easier way to do it.
[quoted text clipped - 5 lines]
> Mark Rae
> ASP.NET MVPhttp://www.markrae.net
OK, I think I'll have to go with the Table control. Thx.