title: Export DataTable to Excel with C# from ASP.NET
body: <p>I have an ASP.NET web forms app with a button on it. This button allows a user to download some content to Excel. However, I'm having problems getting it to work. Everyone has articles that are like export DataGrid or GridView to Excel. My problem is, I have a plain old DataTable. I can't put this DataTable in my UI. At the same time, I do not want to use the Excel libraries.</p>
  
  <p>Does anyone know a way to export a DataTable to Excel with formulas? </p>