Click here to Skip to main content
15,921,203 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Pls some one tell that how to show data in gridview in column wise, my data is showing row wise, but i want to show data from database column wise in gridview,

Pls some one tell to solve this problem.
Posted

1 solution

You need to all this juggling with gridview's datasource itself. GridView's job is to show the data to the user and interact with the user......
You might want to use pivoting(or similar) concept in your SP. Pivoting example: http://blog.sqlauthority.com/2008/05/22/sql-server-pivot-table-example/[^]
 
Share this answer
 
v2

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