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