Click here to Skip to main content
15,914,500 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWrap text in firefox and IE Pin
N a v a n e e t h19-Mar-07 23:15
N a v a n e e t h19-Mar-07 23:15 
AnswerRe: Wrap text in firefox and IE Pin
Sun Rays19-Mar-07 23:53
Sun Rays19-Mar-07 23:53 
GeneralRe: Wrap text in firefox and IE Pin
N a v a n e e t h20-Mar-07 0:25
N a v a n e e t h20-Mar-07 0:25 
GeneralRe: Wrap text in firefox and IE Pin
Sun Rays20-Mar-07 1:03
Sun Rays20-Mar-07 1:03 
Questionwith out second date calculate work hours........ Pin
Member 387988119-Mar-07 22:51
Member 387988119-Mar-07 22:51 
AnswerRe: with out second date calculate work hours........ Pin
Tirthadip19-Mar-07 23:03
Tirthadip19-Mar-07 23:03 
GeneralRe: with out second date calculate work hours........ Pin
Member 387988119-Mar-07 23:29
Member 387988119-Mar-07 23:29 
AnswerRe: with out second date calculate work hours........ Pin
coolestCoder19-Mar-07 23:09
coolestCoder19-Mar-07 23:09 
Hi,
You can check whether the second time is smaller than the first time. If it is smaller construct a date (for second time) with 1 days added to the date of the in-time. In this way, you will have these dates-

consider todays date is 1/1/2007
In-time is 19:45
Out-Time is 8:53

Now the Out-time is lesser than in-time, hence your new in and out times will be -
In-Time : 1/1/2007 19:45
Out-Time : 1/2/2007 10:59

Now if you subtract in time from out time, you should get the correct answer.
Note that all the dates are specified in MM/DD/YYYY format. you will have to keep the formats same, since you are going to construct a date from scrap.

Hope you got my logic ?


"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder

coolestCoder

QuestionHow we can format a multiline text using string builder. Pin
anujose19-Mar-07 22:46
anujose19-Mar-07 22:46 
AnswerRe: How we can format a multiline text using string builder. Pin
Sathesh Sakthivel20-Mar-07 2:24
Sathesh Sakthivel20-Mar-07 2:24 
QuestionHow we can format a multiline text using string builder. Pin
anujose19-Mar-07 22:41
anujose19-Mar-07 22:41 
AnswerRe: How we can format a multiline text using string builder. Pin
Sandeep Akhare24-Mar-07 1:15
Sandeep Akhare24-Mar-07 1:15 
Questionremove "web page dialog" title on title bar Pin
yesu prakash19-Mar-07 22:39
yesu prakash19-Mar-07 22:39 
QuestionConvert word doc to pdf Pin
NinaWilliam19-Mar-07 22:13
NinaWilliam19-Mar-07 22:13 
AnswerRe: Convert word doc to pdf Pin
Sun Rays19-Mar-07 22:21
Sun Rays19-Mar-07 22:21 
Questionplease help me check my definition of provider [modified] Pin
neodeaths19-Mar-07 21:34
neodeaths19-Mar-07 21:34 
Questionhow to store password in binary format in sql database Pin
niki_nilu19-Mar-07 21:33
niki_nilu19-Mar-07 21:33 
AnswerRe: how to store password in binary format in sql database Pin
Sathesh Sakthivel19-Mar-07 21:43
Sathesh Sakthivel19-Mar-07 21:43 
AnswerWhats wrong with you. Pin
Sun Rays19-Mar-07 22:11
Sun Rays19-Mar-07 22:11 
QuestionDeployement Pin
krishnaklm19-Mar-07 21:24
krishnaklm19-Mar-07 21:24 
AnswerRe: Deployement Pin
Laxman Auti20-Mar-07 3:29
Laxman Auti20-Mar-07 3:29 
QuestionThe SqlParameter is already contained by another SqlParameterCollection. Pin
Imran Khan Pathan19-Mar-07 21:14
Imran Khan Pathan19-Mar-07 21:14 
AnswerRe: The SqlParameter is already contained by another SqlParameterCollection. Pin
Colin Angus Mackay19-Mar-07 23:36
Colin Angus Mackay19-Mar-07 23:36 
QuestionJavascript calendar Pin
MissionSuccess19-Mar-07 21:06
MissionSuccess19-Mar-07 21:06 
AnswerRe: Javascript calendar Pin
Michael Sync19-Mar-07 21:14
Michael Sync19-Mar-07 21:14 

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.