You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LastColIndex/ LastRowIndex are reversed. Here's the correct code:
DatasetHelper.PopulateDataTable:
..
// Extract columns
for (int i = 0; i <= Cells.LastColIndex; i++)
dt.Columns.Add(Cells[0, i].StringValue, typeof(String));
// Extract data
for (int currentRowIndex = 1; currentRowIndex <=
Cells.LastRowIndex; currentRowIndex++)
{
..
Original issue reported on code.google.com by marco.di...@gmail.com on 11 Feb 2009 at 9:33
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
marco.di...@gmail.com
on 11 Feb 2009 at 9:33The text was updated successfully, but these errors were encountered: