Click here to Skip to main content
15,905,427 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Datagrid-Marquee Pin
sanaziuse31-May-07 10:28
sanaziuse31-May-07 10:28 
QuestionCompare two times..., Pin
Member 387988131-May-07 2:18
Member 387988131-May-07 2:18 
AnswerRe: Compare two times..., Pin
szukuro31-May-07 2:24
szukuro31-May-07 2:24 
GeneralRe: Compare two times..., Pin
Member 387988131-May-07 2:34
Member 387988131-May-07 2:34 
AnswerRe: Compare two times..., Pin
Christian Graus31-May-07 2:37
protectorChristian Graus31-May-07 2:37 
GeneralRe: Compare two times..., Pin
Member 387988131-May-07 2:41
Member 387988131-May-07 2:41 
GeneralRe: Compare two times..., Pin
Christian Graus31-May-07 2:42
protectorChristian Graus31-May-07 2:42 
GeneralRe: Compare two times..., Pin
Member 387988131-May-07 2:53
Member 387988131-May-07 2:53 
No actually i checked like this format...,

For Each Maingrd As DataGridItem In dgrdmain1.Items
Dim intime As DateTime = Maingrd.Cells(3).Text 'InTime
Dim outtime As DateTime = Maingrd.Cells(4).Text 'OuTime
If intime < outtime Then
lblmsg.Text = "Day"
ElseIf outtime.AddHours(24) > intime Then
lblmsg.Text = "Night"
End If
Next
Exit Sub

but i am getting error msg like:
cast from string "24:00" to type 'date' is not valid like...,

Magi

GeneralRe: Compare two times..., Pin
Member 387988131-May-07 3:25
Member 387988131-May-07 3:25 
Questioncall javascript function from button Pin
soneliso31-May-07 2:07
soneliso31-May-07 2:07 
AnswerRe: call javascript function from button Pin
Sherin Iranimose31-May-07 2:23
Sherin Iranimose31-May-07 2:23 
GeneralRe: call javascript function from button Pin
soneliso31-May-07 2:37
soneliso31-May-07 2:37 
GeneralRe: call javascript function from button Pin
Guffa31-May-07 5:14
Guffa31-May-07 5:14 
Questionneed help..... Pin
moomoooomoo31-May-07 1:47
moomoooomoo31-May-07 1:47 
GeneralRe: need help..... Pin
Guffa31-May-07 2:04
Guffa31-May-07 2:04 
GeneralRe: need help..... Pin
moomoooomoo31-May-07 2:08
moomoooomoo31-May-07 2:08 
GeneralRe: need help..... Pin
Chetan Ranpariya31-May-07 2:48
Chetan Ranpariya31-May-07 2:48 
AnswerRe: need help..... Pin
kubben31-May-07 2:24
kubben31-May-07 2:24 
GeneralRe: need help..... Pin
moomoooomoo31-May-07 2:35
moomoooomoo31-May-07 2:35 
Questionsession timeout.. Pin
OnlySri31-May-07 1:20
OnlySri31-May-07 1:20 
AnswerRe: session timeout.. Pin
kubben31-May-07 2:26
kubben31-May-07 2:26 
AnswerRe: session timeout.. Pin
Fred_Smith31-May-07 2:47
Fred_Smith31-May-07 2:47 
QuestionDatagrid header need to be fixed [modified] Pin
Pushpa Setty31-May-07 1:19
Pushpa Setty31-May-07 1:19 
AnswerRe: Datagrid header need to be fixed Pin
SimulationofSai31-May-07 1:34
SimulationofSai31-May-07 1:34 
GeneralRe: Datagrid header need to be fixed Pin
Pushpa Setty31-May-07 18:55
Pushpa Setty31-May-07 18:55 

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.