Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change row to columns

Status
Not open for further replies.

taree

Technical User
May 31, 2008
316
US
Will it possible to change rows record to columns using and display it in gridview. The number of rows I have to change to columns is unknown before running the SQL script. any idea would be appreciated.
 
do you mean a cross tab query/object? if not converting a row to a column doesn't make any sense. if you do mean a cross tab then I would implmement this in business logic, not presentation (code behind).

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
If this is sqlserver, check in that programming forum, there are many examples there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top