title: C# code to Export SQL Table Data to Excel on daily basis
body: <p>I'm working with ASP.NET MVC 3. I want to export data from a SQL Server table to an Excel sheet and save it in a share path on a daily basis. </p>
  
  <p>How can I do this using C# code?</p>