Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
3.33/5 (2 votes)
See more:
i want to create a calendar using a grdivew..

i have 3 text boxes.....start time and end time, and intervals inbetween times
and i have 2 calendar controls to get the start date and end date

after you have those. i want to create a calendar on a gridview with dates on the left as rows and times on top as colums...


if i selected the start date to be 20th and end date to be 25th.. i want to create 6 rows for each day which i have that....but now i want to create a column from the start time until the end time and colums must be divided based on the interval textbox value added

please help
Posted
Comments
Herman<T>.Instance 20-Aug-14 10:18am    
Could you explain a bit more. I do not get the clue.
Member 10239837 20-Aug-14 10:33am    
i am creating a schedule.....and i am prompting the user for start time and end time and interval in between the times and he/she must also select the start date and end date for the the schedule

at the end i want something like...eg

08h00-08h30|08h30-9h00|9h00-9h30|9h30-10h00
20/08/14
21/08/14
22/08/14
23/08/14
ZurdoDev 20-Aug-14 10:48am    
Where are you stuck?
Member 10239837 20-Aug-14 10:49am    
i am stuck on crating the columns, putting the times as colums
[no name] 27-Aug-14 2:15am    
you just take only time as string
DateTime.Now.ToString("hh:mm tt")

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