Question: how to export data from datatable to excel in c# asp.net?
Answer: Office. Interop. Excel. Application excel;
Office. Interop. Excel. Workbook excelworkBook;
Office. Interop. Excel. Worksheet excelSheet;
Office. Interop. Excel. Range excelCellrange;