How to convert part of text file with space split to table in Email body in C#

  • Thread starter Thread starter AA_NED
  • Start date Start date
A

AA_NED

Guest
Hello All,

Basically, I want to convert part of text file to a table that is added to en email body

My text file would look like this:

-----------------------------

This is a summary of people involved in this activity

Sara, Deparment1, 30

Luca, Department2, 45

Lo, Department3, 34

Thanks

------------------------------------

The code should Take the middle part of the text file, read it and then put it into table in an email body.

I was able to read the file using stramreader and create the email body but not yet convert the middle part of my text file into a table that can be added grammatically to an email body. Please help

Continue reading...
 
Back
Top