Vishwas Kadamannaya

Vishwas Kadamannaya

  • 1.5k
  • 121
  • 139k

Mailing Excel worksheet as an attachment without saving C#

Mar 6 2013 5:28 AM
Hi ALL,

I am creating an Excel worksheet dynamically in C# codebehind and i want that Excel worksheet to send as an email as an attachment. I dont want to save the worksheet. Currently am saving the worksheet, then attaching the saved worksheet, then send email, then delete the saved worksheet.

But i want to create dynamically Excel worksheet and then attach that worksheet without saving.

Is there any solution to this.


Thanks in Advance
Vishwas



Answers (1)