Answers for "c# export datatatble to excel"

C#
0

c# export datatatble to excel

using ClosedXML.Excel;
XLWorkbook wb = new XLWorkbook();
DataTable dt = GetDataTableOrWhatever();
wb.Worksheets.Add(dt,"WorksheetName");
Posted by: Guest on August-11-2021
-1

c# export datatable to excel

XLWorkbook wb = new XLWorkbook();
DataTable dt = GetDataTableOrWhatever();
wb.Worksheets.Add(dt,"WorksheetName");
Posted by: Guest on June-30-2021

C# Answers by Framework

Browse Popular Code Answers by Language