Mahesh Bodepudi

Mahesh Bodepudi

  • NA
  • 90
  • 56.6k

Export data in excel C# windows application

May 30 2016 6:04 AM
Hi,
I am using winodows forms application.In this I have a task of reading data from notepad file and needs to export to excel.Fo this I need to generate excel report with different
sheets.Here I finally for exporting data in excel sheet I am using list of type datatable.So each table in that list should be populated to the excel sheets in workbook one by one.
Could you please explain how to overcome this.

private void ExportToExcel(List lstdTable)
{

//Logic Here
}
Please explain with an example

Answers (1)