title: C# Open XML SDK 2.0 Excel spreadsheet - load range of cells from string array
body: <p>In a .Net windows desktop application, I am able to import a string array of data into a range of cells located in Excel spreadsheet.  The C# code is as follows:</p>
  
  <pre><code>using Excel = Microsoft.Office.Interop.Excel;
  
  // Create Application, Workbook, and Worksheet
  xlApp = new Microsoft.Office.Interop.Excel.Application();
  xlWorkBook = xlApp.Workbooks.Add(misValue);
  xlWs = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);
  
  // Move data from temp array into Excel spreadsheet.
  Excel.Range c1 = (Excel.Range)xlWs.Cells[startRowNum, 1];
  Excel.Range c2 = (Excel.Range)xlWs.Cells[startRowNum + myTable.Rows.Count - 1,   Columns.Count];
  Excel.Range range = xlWs.get_Range(c1, c2);
  range.Value = tempArray;
  </code></pre>
  
  <p>I am trying to duplicate this process in an ASP.Net webpage. Using Visual Studio 2010 and C#.  How can I do this same import of a string array into an Open XML SDK 2.0 Excel spreadsheet range of cells?</p>