Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello

i am trying to create a schedule using gridview, i am prompting for start and end date, start time and end time and interval, time between the times..

i have able to show dates on the gridview like this
Monday 13/8/14
Tuesday 14/8/14
Wednesday 15/8/14
Thursday 16/8/14
Friday 17/8/14

I want ti display times as colums like

8h00 8h30 9h00 9h30 10h00

all in all i want the schedule to look like this

-------------------8h00 8h30 9h00 9h30 10h00

Monday 13/8/14
Tuesday 14/8/14
Wednesday 15/8/14
Thursday 16/8/14
Friday 17/8/14
Posted
Comments
Sergey Alexandrovich Kryukov 26-Aug-14 13:24pm    
What do you mean "how"? By doing appropriate software development work, according to your requirements. You are not asking about anything certain. What would be the help you expect?
—SA

1 solution

Build one DataTable exactly the way you have told.

Declare new DataTable. Then add columns as the times. After that, go on adding rows.

Now assign the DataTable to the GridView.
 
Share this answer
 

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