'Open' an excel spreadsheet from a byte array


  • My users upload Excel spreadsheets to a database.  I would like to verify the contents of the spreadsheet before saving it to the database and without saving the spreadsheet to the file system.  I currently get the 'package' from the Sql Server DB and save irt as a file using the BinaryWriter.
     I am trying to figure out how to creat a workbook in memory that I can just 'cast' the byte array into and have a memory resident workbook/worksheet object.

    Is this doable?


    Tuesday, August 11, 2009 8:23 PM