Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# export datatatble to excel

using ClosedXML.Excel;
XLWorkbook wb = new XLWorkbook();
DataTable dt = GetDataTableOrWhatever();
wb.Worksheets.Add(dt,"WorksheetName");
 
PREVIOUS NEXT
Tagged: #export #datatatble #excel
ADD COMMENT
Topic
Name
3+3 =