I would like to create an excel document server side and send it as an attachment in email.
I would like to do that when a button is clicked on an aspx page. I use C#.
The excel document should have 2 sheets. A different datasource for each. I would like to name the sheet. How is best to do this?