RKLib.ExportData.Export objexport = new RKLib.ExportData.Export("Win"); dtToExport = Contain a Data that i have to copy to childTable for (int i = 0; i < dtToExport.Rows.Count; i = i + 65000) { DataTable childTable = dtToExport.Clone(); childTable.Rows.Clear(); for (int j = 0; j < 65000; j++) { try { childTable.ImportRow(dtToExport.Rows[i + j]); } catch (IndexOutOfRangeException) { break; } } objexport.ExportDetails(childTable, RKLib.ExportData.Export.ExportFormat.Excel, filePath + tempFileName); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)