Vishwas Kadamannaya

Vishwas Kadamannaya

  • 1.9k
  • 116
  • 117.9k

Mailing Excel worksheet as an attachment without saving C#

Mar 6 2013 5:28 AM

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

Brought to you by:

Answers (1)