By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,347 Members | 2,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,347 IT Pros & Developers. It's quick & easy.


P: 13
I am totally new to this environment.
I am using a gridview in my page that retrives data from database
When I retrive i no of rows is increases/decreases based on query

now I want data in rows as column headers

let me explain

on retriving I get the grid as below

Id name date timein timeout

1 Sam 1/1/09 10:00:00AM 6:00:00PM
2 Bob 1/1/09 10:00:00AM 6:00:00PM
1 Sam 2/1/09 11:00:00AM 7:00:00PM
2 Bob 2/1/09 9:00:00AM 5:00:00PM

In thre above manner I am getting data from database

my aim is to print as following

id name 1/1/09 2/1/09
Timein Timeout Timein Timeout

1 Sam 10:00:00AM 6:00:00PM 11:00:00AM 7:00:00PM
2 Bob 10:00:00AM 6:00:00PM 9:00:00AM 5:00:00PM

How can I do this plz explain
Feb 16 '09 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.