private ExcelDataTable CreateNewExcelDataTable(string tableName, System.Data.DataTable dataTable, int startColumnIndex, int startRowIndex) { ExcelDataTable excelDataTable = new ExcelDataTable(); excelDataTable.SetDataTable(dataTable); excelDataTable.StartColumnIndex = startColumnIndex; excelDataTable.StartRowIndex = startRowIndex; excelDataTable.SetTopLeft(); excelDataTable.SetBottomRight(); excelDataTable.TableName = tableName; excelDataTable.TableStyleName = "TableStyleLight11"; return(excelDataTable); }