Click here to Skip to main content
15,914,452 members
Home / Discussions / C#
   

C#

 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff27-May-09 1:28
mveOriginalGriff27-May-09 1:28 
GeneralRe: reading text file and calculating the working hours for each employee Pin
emmy_23200327-May-09 1:36
emmy_23200327-May-09 1:36 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff27-May-09 1:54
mveOriginalGriff27-May-09 1:54 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff27-May-09 1:55
mveOriginalGriff27-May-09 1:55 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff27-May-09 4:29
mveOriginalGriff27-May-09 4:29 
GeneralRe: reading text file and calculating the working hours for each employee Pin
emmy_23200327-May-09 20:58
emmy_23200327-May-09 20:58 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff27-May-09 22:08
mveOriginalGriff27-May-09 22:08 
GeneralRe: reading text file and calculating the working hours for each employee Pin
emmy_23200328-May-09 1:11
emmy_23200328-May-09 1:11 
hi,
i tranced the o/p i have.the output i have isn't logic.
as it's subtract the date/time for today 28/5/2009 from for example:
Enroll No,78,date2,30/4/2009,time2,0:3:43,Check Out
the result is
No:78 Hours 14minutes2 Seconds 34

i should change this


DateTime date1 = DateTime.Now;
to refer to date1 from the file not for DateTime.Now;

but if date1=Convert.ToDateTime(rowaArray[3] + " " + rowaArray[5]);   as they are same.
the result will be 0.
have you any idea to change this ?
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff28-May-09 1:24
mveOriginalGriff28-May-09 1:24 
GeneralRe: reading text file and calculating the working hours for each employee Pin
emmy_23200328-May-09 1:28
emmy_23200328-May-09 1:28 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff28-May-09 1:59
mveOriginalGriff28-May-09 1:59 
GeneralRe: reading text file and calculating the working hours for each employee Pin
emmy_23200329-May-09 23:02
emmy_23200329-May-09 23:02 
GeneralRe: reading text file and calculating the working hours for each employee Pin
Henry Minute27-May-09 0:39
Henry Minute27-May-09 0:39 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff27-May-09 0:45
mveOriginalGriff27-May-09 0:45 
QuestionViewer Pin
ellllllllie26-May-09 22:07
ellllllllie26-May-09 22:07 
QuestionA Combobox problem Pin
leung wilson26-May-09 21:51
leung wilson26-May-09 21:51 
AnswerRe: A Combobox problem Pin
Vimalsoft(Pty) Ltd26-May-09 22:54
professionalVimalsoft(Pty) Ltd26-May-09 22:54 
AnswerRe: A Combobox problem Pin
jaypatel51227-May-09 0:23
jaypatel51227-May-09 0:23 
QuestionOffice Ribbon functionality Pin
windhopper26-May-09 21:22
windhopper26-May-09 21:22 
QuestionRe: Office Ribbon functionality Pin
mandar77719-Jul-09 20:34
mandar77719-Jul-09 20:34 
QuestionA small problem with Extended GridView in Edit Mode Pin
M S Nayak26-May-09 20:50
M S Nayak26-May-09 20:50 
QuestionHow do I Generate a Number in C# Pin
Mads11526-May-09 20:20
Mads11526-May-09 20:20 
AnswerRe: How do I Generate a Number in C# Pin
stancrm26-May-09 20:39
stancrm26-May-09 20:39 
GeneralRe: How do I Generate a Number in C# Pin
Mads11526-May-09 20:45
Mads11526-May-09 20:45 
GeneralRe: How do I Generate a Number in C# Pin
stancrm26-May-09 20:47
stancrm26-May-09 20: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.