Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
GeneralRe: ComboBox in C#.net Pin
Paul Conrad30-Dec-07 19:03
professionalPaul Conrad30-Dec-07 19:03 
GeneralRe: ComboBox in C#.net Pin
Nouman Bhatti30-Dec-07 22:46
Nouman Bhatti30-Dec-07 22:46 
Generalcalculate the intime and outtime Pin
Nilohith30-Dec-07 17:52
Nilohith30-Dec-07 17:52 
GeneralRe: calculate the intime and outtime Pin
Abhijit Jana30-Dec-07 18:44
professionalAbhijit Jana30-Dec-07 18:44 
GeneralRe: calculate the intime and outtime Pin
Nilohith2-Jan-08 20:04
Nilohith2-Jan-08 20:04 
GeneralRe: calculate the intime and outtime Pin
Paul Conrad30-Dec-07 19:04
professionalPaul Conrad30-Dec-07 19:04 
GeneralRe: calculate the intime and outtime Pin
CPallini30-Dec-07 22:39
mveCPallini30-Dec-07 22:39 
GeneralRe: calculate the intime and outtime Pin
PIEBALDconsult31-Dec-07 16:09
mvePIEBALDconsult31-Dec-07 16:09 
That's just horrible.

First: My brain gibbers at non-ISO 8601 date and time formats.

Second: As mentioned, the lack of delimiters in the file.

However, I'll suggest the use of a System.Collections.Generic.List<System.DateTime>
for each employee (which can be sorted if need be), then intime will be in the zeroth position and the outtime will be in the nth position.

I would likely also have a System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<System.DateTime>> to contain all the employees' data.

Read the file, parse the data, insert it into the dictionary/list, when done, print it out or whatever. Really quite simple actually.
Generalsome properties of a delegate Pin
bkelly1330-Dec-07 16:47
bkelly1330-Dec-07 16:47 
GeneralRe: some properties of a delegate Pin
N a v a n e e t h30-Dec-07 19:01
N a v a n e e t h30-Dec-07 19:01 
Generalhelp on keyword obj Pin
bkelly1330-Dec-07 15:27
bkelly1330-Dec-07 15:27 
Generaland a follow up Pin
bkelly1330-Dec-07 15:35
bkelly1330-Dec-07 15:35 
GeneralRe: and a follow up Pin
DaveyM6930-Dec-07 16:22
professionalDaveyM6930-Dec-07 16:22 
GeneralRe: and a follow up Pin
PIEBALDconsult31-Dec-07 16:21
mvePIEBALDconsult31-Dec-07 16:21 
GeneralRe: and a follow up Pin
bkelly1331-Dec-07 16:27
bkelly1331-Dec-07 16:27 
GeneralRe: help on keyword obj Pin
DaveyM6930-Dec-07 16:17
professionalDaveyM6930-Dec-07 16:17 
GeneralRe: help on keyword obj Pin
bkelly1330-Dec-07 16:39
bkelly1330-Dec-07 16:39 
Generalusing C# to draw over directx games Pin
Member 428380730-Dec-07 11:30
Member 428380730-Dec-07 11:30 
GeneralRe: using C# to draw over directx games Pin
Kristian Sixhøj30-Dec-07 12:46
Kristian Sixhøj30-Dec-07 12:46 
GeneralRe: using C# to draw over directx games Pin
MarkB77730-Dec-07 16:15
MarkB77730-Dec-07 16:15 
GeneralDevice name Pin
Strategic_Thinker30-Dec-07 5:29
Strategic_Thinker30-Dec-07 5:29 
GeneralCapturing VB6 event in C#.Net Pin
M A A Mehedi Hasan30-Dec-07 1:17
M A A Mehedi Hasan30-Dec-07 1:17 
GeneralRe: Capturing VB6 event in C#.Net Pin
Michael Sync30-Dec-07 5:35
Michael Sync30-Dec-07 5:35 
GeneralRe: Capturing VB6 event in C#.Net Pin
Paul Conrad30-Dec-07 6:41
professionalPaul Conrad30-Dec-07 6:41 
GeneralRe: Capturing VB6 event in C#.Net Pin
Michael Sync30-Dec-07 19:02
Michael Sync30-Dec-07 19:02 

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.