views:

162

answers:

2

I want to display data in format

Store Name
Department1
User1 2 3 5 6
User2 2 3 5 6
User3 2 3 5 6
User4 2 3 5 6

Department2
User1 2 3 5 6
User2 2 3 5 6
User3 2 3 5 6
User4 2 3 5 6

Store Name1
Department1
User1 2 3 5 6
User2 2 3 5 6
User3 2 3 5 6
User4 2 3 5 6

Department2
User1 2 3 5 6
User2 2 3 5 6
User3 2 3 5 6
User4 2 3 5 6

WHich control is best way to display data in above format. With gridview i have to get each department for given store merge it and show data. Note: My columns are dynamic

A: 

You could create user control, which displays

Department2
User1 2 3 5 6
User2 2 3 5 6
User3 2 3 5 6
User4 2 3 5 6

Then create a list of controls and add them to a panel or some container, which has verticla scroll bar.

_simon_
+1  A: 

How about nested Repeater controls?

cdonner
my columns are dynamic how can i bind them to item template?
rs
You could add columns dynamically to the Repeater, or just use a single column and format your data with HTML (a table, for instance).
cdonner