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

C#

 
QuestionNeed help in making setup file in runtime Pin
sPaudel26-May-09 23:25
sPaudel26-May-09 23:25 
QuestionRe: Need help in making setup file in runtime Pin
Rajesh R Subramanian26-May-09 23:35
professionalRajesh R Subramanian26-May-09 23:35 
AnswerRe: Need help in making setup file in runtime Pin
sPaudel26-May-09 23:47
sPaudel26-May-09 23:47 
GeneralRe: Need help in making setup file in runtime Pin
Rajesh R Subramanian27-May-09 0:00
professionalRajesh R Subramanian27-May-09 0:00 
GeneralRe: Need help in making setup file in runtime Pin
Rajesh R Subramanian27-May-09 0:21
professionalRajesh R Subramanian27-May-09 0:21 
QuestionThis was what I wanted Pin
Rajdeep.NET is BACK26-May-09 23:00
Rajdeep.NET is BACK26-May-09 23:00 
AnswerRe: This was what I wanted Pin
OriginalGriff26-May-09 23:06
mveOriginalGriff26-May-09 23:06 
AnswerI thought it'd be longer, really. Pin
OriginalGriff26-May-09 23:10
mveOriginalGriff26-May-09 23:10 
GeneralRe: I thought it'd be longer, really. Pin
Rajdeep.NET is BACK26-May-09 23:39
Rajdeep.NET is BACK26-May-09 23:39 
JokeRe: I thought it'd be longer, really. Pin
fly90426-May-09 23:56
fly90426-May-09 23:56 
GeneralRe: I thought it'd be longer, really. Pin
OriginalGriff27-May-09 0:52
mveOriginalGriff27-May-09 0:52 
GeneralRe: I thought it'd be longer, really. Pin
fly90427-May-09 1:22
fly90427-May-09 1:22 
GeneralRe: I thought it'd be longer, really. Pin
EliottA27-May-09 4:13
EliottA27-May-09 4:13 
GeneralRe: I thought it'd be longer, really. Pin
OriginalGriff27-May-09 4:24
mveOriginalGriff27-May-09 4:24 
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 
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 
this is the part of teh code i wrote but i can't have anything for an output
i don't know where is the mistake to make it work
StreamReader reader = new StreamReader(@"C:\new.txt");
                   string line;
                   while (null != (line = reader.ReadLine()))
                   {
                       string[] split = line.Split(new char[] { ';' });
                       string bit = split[0];

                       if (bit == Convert.ToString(EnrollNo))
                       {
                           date1 = System.Convert.ToDateTime(split[1]);
                           //date2 = System.Convert.ToDateTime(spli[2]);
                           TimeSpan ts = new TimeSpan();
                           date2 = Convert.ToDateTime("0:3:43");
                           ts = date2.Subtract(date1);
                          // time1 = split[2];
                           listBox1.Items.Add(ts.Days + " Days " + ts.Hours + " Hours " + ts.Seconds + " Seconds ");
                           break;
                       }
                   }
                   reader.Dispose();

GeneralRe: reading text file and calculating the working hours for each employee Pin
OriginalGriff26-May-09 22:36
mveOriginalGriff26-May-09 22:36 

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.