c# Programming Glossary: maxcol
OpenXML takes much longer than OLEDB to read rows from Excel sheet http://stackoverflow.com/questions/12796764/openxml-takes-much-longer-than-oledb-to-read-rows-from-excel-sheet .First List List string totalRows new List List string int maxCol 0 foreach Row r in sheetData.Elements Row Add the empty row... List string emptyRowValues new List string for int i 0 i maxCol i emptyRowValues.Add totalRows.Add emptyRowValues List.. tempRowValues.Add value add the row to the totalRows. maxCol processList tempRowValues totalRows maxCol Console.WriteLine..
|