title: Export SQL Server data to Excel in a web app
body: <p>I would like to export data from a SQL Server pull (usually I use <code>SqlDataReader</code>, but am open to suggestions) into an Excel/CSV file and have the user of the web app get it as a download. </p>
  
  <p>I'd like to do this AJAX style, so that the click on download won't cause a reload/postback. </p>
  
  <p>Anyone done this before or have an idea on how?</p>