Click here to Skip to main content
15,910,872 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have the table with content like this
Name age
aaa 20
bbb 22
ccc 33

but i want to show like this

aaa bbb ccc
20 22 33

there is no static header.
is it possible to do it,any suggestion please....!
Posted
Comments
piyushpanchalit@gmail.com 26-Nov-13 5:30am    
can you send me your query that you are using to get the data.
so i can give your better solution.
Er Daljeet Singh 26-Nov-13 5:35am    
if you want o display records horizontally then use datalist instead of gridview.

1 solution

 
Share this answer
 
Comments
prabhatsp 26-Nov-13 6:26am    
for pivot we know the standard header, but here it differs according to the entrites

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900