T
tshad
I am reading an excel sheet that shows 6 columns when opening it in excel
but when I open it in my c# program I only get 4 and the count is 4. It is
dropping Column A and Column B, which have nothing in the files.
I tried saving the file in csv format from excel and it only wrote out the 4
columns that had data in it (.C-F)
,Data,,
desc,Count of desc,,Sum of paymntamt
100,19,,363
111,45,,129
What happened to the 1st 2 columns?
Other files show columns when they aren't empty, since we are told which
columns to read from our client - we have to assume that all the columns are
they. In this file, they said to read columns C,D,E,F - but only C and D
are there and they are obviously the wrong columns for C and D. E and F are
out of bounds.
Thanks,
Tom
but when I open it in my c# program I only get 4 and the count is 4. It is
dropping Column A and Column B, which have nothing in the files.
I tried saving the file in csv format from excel and it only wrote out the 4
columns that had data in it (.C-F)
,Data,,
desc,Count of desc,,Sum of paymntamt
100,19,,363
111,45,,129
What happened to the 1st 2 columns?
Other files show columns when they aren't empty, since we are told which
columns to read from our client - we have to assume that all the columns are
they. In this file, they said to read columns C,D,E,F - but only C and D
are there and they are obviously the wrong columns for C and D. E and F are
out of bounds.
Thanks,
Tom