G
Guest
I load an excel spreadsheet into an object array, [row, columns]. What is the
best way to copy a row into a single array or arraylist?
Currently I just loop through each column and assign it to the new array.
xlData was poplulated from excel interop
tosData = new object [109];
for (int curCol = 1; curCol < 109; curCol++)
tosData[curCol - 1] = xlData[curRow, curCol];
Thanks
best way to copy a row into a single array or arraylist?
Currently I just loop through each column and assign it to the new array.
xlData was poplulated from excel interop
tosData = new object [109];
for (int curCol = 1; curCol < 109; curCol++)
tosData[curCol - 1] = xlData[curRow, curCol];
Thanks