Tough to describe in a title.
When using the oledb method of "selecting" data from a sheet it will return it to you in a nice "square" table format.
IE: it somehow automatically finds the maximum row and column and returns to you a nice table of that width/height.
How can I do this with interop?
Heres what I know about the spreadsheets I will have to read:
-they will not all be the same width or height
-they can have empty rows or columns
-column A may be longer than B and so forth. I have no definite points to find a max/min points across all sheets that come through this app.
-no column names gauranteed.
So basically I need it to do the exact same thing as the oledb will do.
I cant use the oledb because I need everything returned as a string value and I cant have it guessing my data types and returning 2.03+10E or whatever it does.
Thanks everyone, great site you have!
Mark
When using the oledb method of "selecting" data from a sheet it will return it to you in a nice "square" table format.
IE: it somehow automatically finds the maximum row and column and returns to you a nice table of that width/height.
How can I do this with interop?
Heres what I know about the spreadsheets I will have to read:
-they will not all be the same width or height
-they can have empty rows or columns
-column A may be longer than B and so forth. I have no definite points to find a max/min points across all sheets that come through this app.
-no column names gauranteed.
So basically I need it to do the exact same thing as the oledb will do.
I cant use the oledb because I need everything returned as a string value and I cant have it guessing my data types and returning 2.03+10E or whatever it does.
Thanks everyone, great site you have!
Mark