title: Format a Excel Sheet as a Table using EPPlus
body: <p>I have a .Net core application, and i'm new to using the EPPlus Library with c#.
  I have a data-table filled with data which i'm currently inserting into an excel sheet using EPPlus.
  <em><strong>I was wondering if there is a way to format the sheet as a table after you added the data to the sheet and not before?</strong></em>
  (Like when you are using the Format a table function in excel)</p>
  <p><strong>sample of my Code which only fills the excel sheet:</strong></p>
  <pre><code>var excelWorkSheet = excel.Workbook.Worksheets[&quot;WorkSheet1&quot;];
  using (SqlDataReader dr = cmd.ExecuteReader())
  {
      dt.Load(dr);
  
  }
  excelWorkSheet.Cells[&quot;A1&quot;].LoadFromDataTable(dt, true);
  
  excel.SaveAs(df);
  </code></pre>
  <p>please keep in mind the df variable above is of type file directory, and that the data in the data-table will be different for each user so the size will never be the same for two users.</p>