Click here to Skip to main content
14,486,111 members
Rate this:
Please Sign up or sign in to vote.
I am using a DetailsView in my project and it's output view is Vertical but I need it horizontal. The below link(Image) show you what my current output(1) and what I need to do(2).
Link[^]
Please Help me to solve this.
Posted
Updated 22-Sep-13 8:33am
v3
Rate this:
Please Sign up or sign in to vote.

Solution 1

You can use Pivot table:
how to use sql server pivot table[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Instead of DetailView, user grid view and bind the data to that. simple :)
   
Comments
sazzad37 23-Sep-13 14:41pm
   
I don't understand you, please make it clear. I am not good enough in coding.

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100