From my database query I get the following:
Text Number
Albert 12
Albert 14
Albert 16
Brian 20
Brian 21
Brian 22
Now I'd like to represent the data as:
Albert 12 14 16
Brian 20 21 22
I've looked at repeaters, data sets, data readers but I can't figure
out how to go about it. Preferably I'd like to represent the data in a
GridView. Can anyone please guide me in the right direction? :)
Eliyahu Goldin - 22 Nov 2006 14:44 GMT
The easiest solution is to build programmatically a new datatable containing
one row per name out of the original result set and databind the gridview to
the new table.

Signature
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
> From my database query I get the following:
>
[quoted text clipped - 14 lines]
> out how to go about it. Preferably I'd like to represent the data in a
> GridView. Can anyone please guide me in the right direction? :)