Save IList*T* or IQueryable*T* to Excel – C#

I’m generating a report via Linq to SQL and displaying it on the website. I need to save the report in MS Excel (or .csv) and email it to user. Any ideas on how to save it as Excel or .csv ?.NET...

how to create and download excel document using asp.net

How to create and download excel document using asp.net ?The purpose is to use xml, linq or whatever to send an excel document to a customer via a browser.Edit : Use caseThe customer load a gridview (...