Sujeet Raman

Sujeet Raman

  • 803
  • 915
  • 333.9k

How to dynamicaly add .txt file in to Data table row in c#

Aug 9 2021 6:28 AM

I have methode to export excel.I created table coloums for that.but my table row data in following form.How can i add 1000 + data dynamicaly from following format?here in LastList i have 1000 values with comma seperated.I have to add that values like  table.Rows.Add(1, 2, "M", //"M", "M", "M", "M", "M", "M") format. only 9 values  so like this 9 *100.Please find my attached solution.I have also attached the txt file to be added in the row

 

 


Attachment: ExportToXLAPP.zip

Answers (1)