Export data in excel C# windows application
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