Reputation: 1
May I know how to show multiple records on the same row in Gridview?
Upvotes: 0
Views: 1061
Reputation: 7591
the purpose of these enumerable data bound controls is to show one record/row/object per item template. If you want to show multiple records/rows/objects you will need an intermediate step to aggregate the individual record/row/object together.
then you could bind to the gridview. however, i would recommend the ListView so you can customize the layout however you like.
Upvotes: 1