title: Error : 'Requested value 'baseline' was not found.'
body: <p>When I Uploading An Excel File (.xlsx) Using Epplus Method In Asp.Net C#.
  <strong>My Code :</strong>
  *</p>
  
  <pre><code>&gt; if (FileUploadControl.HasFile)
  &gt;         {
  &gt;             if (Path.GetExtension(FileUploadControl.FileName) == ".xlsx")
  &gt;             {
  &gt;                 ExcelPackage package = new ExcelPackage(FileUploadControl.FileContent);
  &gt;                 ExcelWorksheet workSheet = package.Workbook.Worksheets[1];
  &gt;                 workSheet.Cells[1, 1].Value = "Year";
  &gt;                 workSheet.Cells[1, 2].Value = "Month";
  &gt;                 workSheet.Cells[1, 3].Value = "Date";
  &gt;                 workSheet.Cells[1, 4].Value = "Member Id";
  &gt;                 workSheet.Cells[1, 5].Value = "Member Name";
  &gt;                 workSheet.Cells[1, 5].Value = "Flat Type";
  &gt;                 workSheet.Cells[1, 7].Value = "Previous Unit";
  &gt;                 workSheet.Cells[1, 8].Value = "New Unit";
  &gt;                 workSheet.Cells[1, 9].Value = "Rate";
  &gt;                 DataTable table = new DataTable();
  &gt;                 foreach (var FirstRowCell in workSheet.Cells[1, 1, 1, workSheet.Dimension.End.Column])
  &gt;                 {
  &gt;                     table.Columns.Add(FirstRowCell.Text);
  &gt;                 }
  &gt;                 for (var RowNumber = 2; RowNumber &lt;= workSheet.Dimension.End.Row; RowNumber++)
  &gt;                 {
  &gt;                     var Row = workSheet.Cells[RowNumber, 1, RowNumber, workSheet.Dimension.End.Column];
  &gt;                     var NewRow = table.NewRow();
  &gt;                     foreach (var cell in Row)
  &gt;                     {
  &gt;                         NewRow[cell.Start.Column - 1] = cell.Text;
  &gt;                     }
  &gt;                     table.Rows.Add(NewRow);
  &gt;                 }
  &gt;                 ExcelGridView.DataSource = table;
  &gt;                 ExcelGridView.DataBind();
  &gt;             }
  &gt;         }
  </code></pre>
  
  <p>*</p>