hii all,
this is one text file i want to extract data from
Datum/Uhrzeit,Sta.,Bez.,Unit,TBId,Batch,OrderNr,Mat1,Total1,Mat2,Total2,Mat3,Total3,Mat4,Total4,Mat5,Total5,Mat6,Total6,Summe
41521.880937(04.09.13 21:08:33),TB01,TB01,005,300,9721, ,2,27473.31,0,0.00,0,0.00,3,1790.40,0,0.00,0,0.00,29263.71
41521.922606(04.09.13 22:08:33),TB01,TB01,005,300,9741, ,2,27528.53,0,0.00,0,0.00,3,1795.30,0,0.00,0,0.00,29323.83
41521.964274(04.09.13 23:08:33),TB01,TB01,005,300,9760, ,2,27580.88,0,0.00,0,0.00,3,1799.97,0,0.00,0,0.00,29380.84
41522.005942(05.09.13 00:08:33),TB01,TB01,005,300,9780, ,2,27636.00,0,0.00,0,0.00,3,1804.86,0,0.00,0,0.00,29440.86
41522.047610(05.09.13 01:08:33),TB01,TB01,005,300,9800, ,2,27691.12,0,0.00,0,0.00,3,1809.75,0,0.00,0,0.00,29500.87
I am unable to extract date and Summe from this file
04.09.13 21:08:33 29263.71
04.09.13 22:08:33 29323.83
04.09.13 23:08:33 29380.84
05.09.13 00:08:33 29440.86
05.09.13 01:08:33 29500.87
Compare the dates with user input and shows the difference
I am new to C#.
What i have tried till now is i have taken these datas as comma(,) seperated values. So i have 20 different columns with all the values but i don't know how to extract date from the first column and take the value of Summe of that same column.
Any help would me great.