I can only seem to read the 2nd row (data), but i need to dynamically pick off the header names since the spreadsheets won't be consistent. Thanks!
How can I read off the column headers of an uploaded Excel file in ASP.NET/C#?
Though it depends on how you are reading them, you should be able to access the column names through data[column_number].ColumnName
Reply:Make arrays with a loop you may have to do for each column to read all the data........to be honest you should just use access....
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment