Sandeep Kumar

Sandeep Kumar

  • 1k
  • 683
  • 59.5k

Upload a text file and Create a datatable in c#

Apr 12 2023 9:12 AM

My Text file format is like; First Raw is header of column

Date/Time;MagazinePos;SampleID;SampleWeight;Moisture;Volatile;Ash;FixedCarbon;Standard;Customer
05-04-2023 15:34:08;1;rcs6737;1.410;3.283;23.761;41.395;31.561;-;HINDALCO
05-04-2023 15:34:08;2;rcs8434;1.100;3.938;26.521;35.089;34.452;-
05-04-2023 15:34:08;3;rcs6630;1.019;4.023;26.570;27.845;41.562;-
05-04-2023 15:34:08;4;rcs8960;1.022;4.266;26.563;33.735;35.436;-

Answers (3)