Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: I thought it'd be longer, really. Pin
EliottA27-May-09 4:30
EliottA27-May-09 4:30 
AnswerRe: This was what I wanted Pin
Dave Kreskowiak27-May-09 3:51
mveDave Kreskowiak27-May-09 3:51 
QuestionTrackbar Pin
yesu prakash26-May-09 22:35
yesu prakash26-May-09 22:35 
AnswerRe: Trackbar Pin
Eddy Vluggen26-May-09 22:38
professionalEddy Vluggen26-May-09 22:38 
AnswerRe: Trackbar Pin
OriginalGriff26-May-09 22:54
mveOriginalGriff26-May-09 22:54 
QuestionRead XML Data from C# Pin
QuickDeveloper26-May-09 22:24
QuickDeveloper26-May-09 22:24 
AnswerRe: Read XML Data from C# Pin
tom57200726-May-09 22:35
tom57200726-May-09 22:35 
Questionreading text file and calculating the working hours for each employee Pin
emmy_23200326-May-09 22:14
emmy_23200326-May-09 22:14 
hi there,
I have this text file
Enroll No,194,date2,30/4/2009,time2,0:3:38,Check Out
Enroll No,78,date2,30/4/2009,time2,0:3:43,Check Out
Enroll No,78,date1,30/4/2009,time1,9:44:47,Check In
Enroll No,107,date1,30/4/2009,time1,9:44:52,Check In
Enroll No,108,date1,30/4/2009,time1,9:57:39,Check In
Enroll No,106,date1,30/4/2009,time1,10:40:47,Check In
Enroll No,109,date1,30/4/2009,time1,15:23:30,Check In
Enroll No,107,date2,30/4/2009,time2,17:6:27,Check Out
Enroll No,194,date1,30/4/2009,time1,17:9:44,Check In
Enroll No,132,date1,30/4/2009,time1,17:32:19,Check In
Enroll No,106,date2,30/4/2009,time2,17:35:31,Check Out
Enroll No,78,date2,30/4/2009,time2,17:35:41,Check Out
Enroll No,132,date1,30/4/2009,time1,17:45:2,Check In
Enroll No,108,date2,30/4/2009,time2,18:33:18,Check Out
Enroll No,109,date2,30/4/2009,time2,22:30:18,Check Out
Enroll No,194,date2,1/5/2009,time2,0:4:18,Check Out
Enroll No,132,date2,1/5/2009,time2,0:4:29,Check Out

i'm using windows application c#.net 2005
i want to calculate the number of hours spend by each enroll no.
each employee should workk 7 hours daily and make 182 hours monthly.if the made more than 182 hours will be overtime,if he made less than 182 hours will be deduction.the employee can take 4 or 5 days off each month.
i want to calculate the number of hours he made between 2 dates as he may comes on 30/4/2009 at 8 o'clock pm and leaves 12:00 am that will be on 1/5/2009.
i also want to make a combobox which has enroll no's and the user choose his number then his working hours will be displayed according to his number.i don't know if that possible or not because i'm using this text file.

Best regards,
emmy
QuestionRe: reading text file and calculating the working hours for each employee Pin
Rajesh R Subramanian26-May-09 22:22
professionalRajesh R Subramanian26-May-09 22:22 
AnswerRe: reading text file and calculating the working hours for each employee Pin
emmy_23200326-May-09 22:25
emmy_23200326-May-09 22:25 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff26-May-09 22:36
mveOriginalGriff26-May-09 22:36 
GeneralRe: reading text file and calculating the working hours for each employee Pin
emmy_23200326-May-09 22:47
emmy_23200326-May-09 22:47 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff26-May-09 23:02
mveOriginalGriff26-May-09 23:02 
GeneralRe: reading text file and calculating the working hours for each employee Pin
emmy_23200327-May-09 0:16
emmy_23200327-May-09 0:16 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff27-May-09 0:48
mveOriginalGriff27-May-09 0:48 
GeneralRe: reading text file and calculating the working hours for each employee Pin
emmy_23200327-May-09 1:22
emmy_23200327-May-09 1:22 
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 
GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff28-May-09 1:24
mveOriginalGriff28-May-09 1:24 

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.