Click here to Skip to main content
15,891,012 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Drag Table to Form from Server Explorer Pin
Urs Enzler4-Jul-07 2:37
Urs Enzler4-Jul-07 2:37 
GeneralRe: Drag Table to Form from Server Explorer Pin
Khan.Bangash4-Jul-07 2:49
Khan.Bangash4-Jul-07 2:49 
QuestionDataList Row Height Pin
munklefish4-Jul-07 1:30
munklefish4-Jul-07 1:30 
AnswerRe: DataList Row Height Pin
Sathesh Sakthivel4-Jul-07 1:41
Sathesh Sakthivel4-Jul-07 1:41 
QuestionDevelop Search Engine for a job portal Pin
rparsi4-Jul-07 1:20
rparsi4-Jul-07 1:20 
AnswerRe: Develop Search Engine for a job portal Pin
Pete O'Hanlon4-Jul-07 1:31
mvePete O'Hanlon4-Jul-07 1:31 
AnswerRe: Develop Search Engine for a job portal Pin
Sandeep Akhare4-Jul-07 1:59
Sandeep Akhare4-Jul-07 1:59 
QuestionFind date diiference Pin
BINOVAR4-Jul-07 1:19
BINOVAR4-Jul-07 1:19 
Hi all,

can any please tell me how to find difference between two dates in a web application using Vb.net.

I used


diff1 = (CDate(day2).Subtract(CDate(day1)).TotalHours)
Label11.Text = diff2 & "hrs"
diff3 = (CDate(day3).Subtract(CDate(day2)).TotalHours)
Label12.Text = diff3 & "hrs"

Its working fine in the Local system without any conversion problems,but in a intranet its showing error

Conversion from string "13/04/2006 4:11:50 PM" to type 'Date' is not valid.



please give me suggestions

Thanks in Advance

Bino Varghese
AnswerRe: Find date diiference Pin
SHatchard4-Jul-07 1:46
SHatchard4-Jul-07 1:46 
GeneralRe: Find date diiference Pin
BINOVAR4-Jul-07 2:33
BINOVAR4-Jul-07 2:33 
Questionvb script in asp.net 2.0 Pin
Sonia Gupta4-Jul-07 1:09
Sonia Gupta4-Jul-07 1:09 
AnswerRe: vb script in asp.net 2.0 Pin
Sandeep Akhare4-Jul-07 1:18
Sandeep Akhare4-Jul-07 1:18 
GeneralRe: vb script in asp.net 2.0 Pin
Sonia Gupta4-Jul-07 1:53
Sonia Gupta4-Jul-07 1:53 
GeneralRe: vb script in asp.net 2.0 Pin
Sandeep Akhare4-Jul-07 1:57
Sandeep Akhare4-Jul-07 1:57 
GeneralRe: vb script in asp.net 2.0 Pin
Sonia Gupta4-Jul-07 2:00
Sonia Gupta4-Jul-07 2:00 
GeneralRe: vb script in asp.net 2.0 Pin
Christian Graus4-Jul-07 2:12
protectorChristian Graus4-Jul-07 2:12 
GeneralRe: vb script in asp.net 2.0 Pin
Sathesh Sakthivel4-Jul-07 2:18
Sathesh Sakthivel4-Jul-07 2:18 
Questionarrays... Pin
SrividhyaS4-Jul-07 1:08
SrividhyaS4-Jul-07 1:08 
AnswerRe: arrays... Pin
Pete O'Hanlon4-Jul-07 1:10
mvePete O'Hanlon4-Jul-07 1:10 
QuestionPopulating Drop Down Using XMLDatasource: Pin
Shahzad.Aslam4-Jul-07 0:51
Shahzad.Aslam4-Jul-07 0:51 
AnswerRe: Populating Drop Down Using XMLDatasource: Pin
But_Im_a_Lady4-Jul-07 3:51
But_Im_a_Lady4-Jul-07 3:51 
GeneralRe: Populating Drop Down Using XMLDatasource: Pin
Shahzad.Aslam4-Jul-07 19:39
Shahzad.Aslam4-Jul-07 19:39 
GeneralRe: Populating Drop Down Using XMLDatasource: Pin
But_Im_a_Lady4-Jul-07 21:06
But_Im_a_Lady4-Jul-07 21:06 
QuestionReading RSS Attribute with a Colon( : ) Pin
wEb GuRu...4-Jul-07 0:48
wEb GuRu...4-Jul-07 0:48 
QuestionPlease Help: Javascript Error: Object doesn't support this property or method. Pin
irsh_is4-Jul-07 0:21
irsh_is4-Jul-07 0:21 

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.