title: how to export asp.net MVC detail view data to an excel file?
body: <p>How to export ASP.NET MVC view data to an excel file ?
  Actually my view page contain many viewdata types.
  I am using for each loop with these datatype to displaying data on the view page.
  My requirement is that I want to export this displayed data into Excel file. How do I achieve this?</p>
  
  <p>Thanks</p>