title: Excel import and export to SQL
body: <p>I have a requirement where I need to upload xsl (excel 2003) into SQL 2008R2 database. I am using ORCHAD stuff for scheduling.</p>
  
  <p>I am using HTTPPOSTEDFILEBASE filestream to convert into byte array and store in database.</p>
  
  <p>After storing background scheduler picks up the task and process the data stored. I need to create objects from data in excel and send for processing. I am struck at decoding byte array :(</p>
  
  <p>What is the best way to handle this kinda requirement? any libraries which I make use.</p>
  
  <p>My web app is build with MVC3, EF4.1,repository pattern, Autofaq.</p>