Importing a spreadsheet into an asp.net program and listing the worksheets

Posted by Bob Avallone on Stack Overflow See other posts from Stack Overflow or by Bob Avallone
Published on 2010-04-05T15:05:45Z Indexed on 2010/04/05 15:43 UTC
Read the original article Hit count: 277

Filed under:
|
|

I have to import the contents of a spreadsheet in my asp.net project. The code behind is c#. I figured out how to locate the spreadsheet on the user's computer and how to import the data from a given worksheet into a datable. The problem is I may not know the name of the worksheet ahead of time. I want to present the user with a list of available worksheets and have them pick one. That is the piece I don't know how to do.

Thanks in advance.

Bob Avallone

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#