Click here to Skip to main content
15,902,276 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWindow.close() is not working with Mozilla Firefox Pin
mcmilan16-Jul-08 2:43
mcmilan16-Jul-08 2:43 
AnswerRe: Window.close() is not working with Mozilla Firefox Pin
Imran Khan Pathan16-Jul-08 3:09
Imran Khan Pathan16-Jul-08 3:09 
GeneralRe: Window.close() is not working with Mozilla Firefox Pin
bmchugh6616-Jul-08 3:46
bmchugh6616-Jul-08 3:46 
GeneralRe: Window.close() is not working with Mozilla Firefox Pin
mcmilan16-Jul-08 18:26
mcmilan16-Jul-08 18:26 
GeneralRe: Window.close() is not working with Mozilla Firefox Pin
Imran Khan Pathan16-Jul-08 20:02
Imran Khan Pathan16-Jul-08 20:02 
QuestionHow do i calculate the Start_cell_number and end_cell_number from Start_Display_datetime and end_display_datetime Pin
Rameez Raja16-Jul-08 2:07
Rameez Raja16-Jul-08 2:07 
AnswerRe: How do i calculate the Start_cell_number and end_cell_number from Start_Display_datetime and end_display_datetime Pin
Sherin Iranimose16-Jul-08 4:21
Sherin Iranimose16-Jul-08 4:21 
GeneralRe: How do i calculate the Start_cell_number and end_cell_number from Start_Display_datetime and end_display_datetime [modified] Pin
Rameez Raja16-Jul-08 18:34
Rameez Raja16-Jul-08 18:34 
Thanks for ur reply .

Dear i have one table which contains 32 row cells. from 8:00AM to 3:00PM with interval of 15 minutes .

start from 8:00AM to 03:00PM each hour contains four cells.

i have reservation from 8:00AM to 10:00AM
like this

startReservetime

TimeSpan timeSpan1 = TimeSpan.Parse("8:00");//8:00 AM Startdatetime
TimeSpan timeSpan2 = TimeSpan.Parse("9:00");//3:00 PM end_display_datetime
TimeSpan timeSpanDiff = timeSpan2.Subtract(timeSpan1);//hours difference
int mins = timeSpanDiff.Hours * 60 + timeSpanDiff.Minutes;//total minutes
int cells = mins / 15;//count number of cells

same way i calculated endreservetime

Now i want to figure out the start_cell_number and end_cell_number of reserved vehicle as i can colour the cells .

please give me hint how i do that .

Best regards
Rameez

modified on Thursday, July 17, 2008 8:31 AM

QuestionHTML Tag rendering Pin
dews turner16-Jul-08 1:30
dews turner16-Jul-08 1:30 
AnswerRe: HTML Tag rendering Pin
Imran Khan Pathan16-Jul-08 2:04
Imran Khan Pathan16-Jul-08 2:04 
AnswerRe: HTML Tag rendering Pin
Venkatesh Mookkan16-Jul-08 2:05
Venkatesh Mookkan16-Jul-08 2:05 
GeneralRe: HTML Tag rendering Pin
dews turner16-Jul-08 4:27
dews turner16-Jul-08 4:27 
GeneralRe: HTML Tag rendering Pin
dews turner16-Jul-08 5:05
dews turner16-Jul-08 5:05 
GeneralRe: HTML Tag rendering Pin
Imran Khan Pathan16-Jul-08 20:06
Imran Khan Pathan16-Jul-08 20:06 
Questionsocket exception for simple email validation code Pin
Lengdor16-Jul-08 1:22
Lengdor16-Jul-08 1:22 
Questiondrag drop lists Pin
ajaaya16-Jul-08 1:02
ajaaya16-Jul-08 1:02 
AnswerRe: drag drop lists Pin
eyeseetee16-Jul-08 1:15
eyeseetee16-Jul-08 1:15 
GeneralRe: drag drop lists Pin
eyeseetee16-Jul-08 4:01
eyeseetee16-Jul-08 4:01 
Questioncustom Template databound control in asp.net 2.0 Pin
Member 392066716-Jul-08 0:44
Member 392066716-Jul-08 0:44 
Generalupdate gridview ----help pls Pin
merinkmathew16-Jul-08 0:22
merinkmathew16-Jul-08 0:22 
GeneralRe: update gridview ----help pls Pin
Herman<T>.Instance16-Jul-08 1:55
Herman<T>.Instance16-Jul-08 1:55 
GeneralRe: update gridview ----help pls Pin
merinkmathew16-Jul-08 4:09
merinkmathew16-Jul-08 4:09 
GeneralRe: update gridview ----help pls Pin
Herman<T>.Instance16-Jul-08 6:05
Herman<T>.Instance16-Jul-08 6:05 
QuestionProblem in accessing Runtime Controls Pin
nagendrathecoder16-Jul-08 0:10
nagendrathecoder16-Jul-08 0:10 
AnswerRe: Problem in accessing Runtime Controls [modified] Pin
Imran Khan Pathan16-Jul-08 0:47
Imran Khan Pathan16-Jul-08 0:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.