3

I'm generating PDF files from RDLC report programaticaly without a viewer (ASP.NET 2.0 C#).

I would like to find a way to send it directly via email without downloading the PDF file. Thanks for any help.

Josh
  • 10,961
  • 11
  • 65
  • 108

2 Answers2

1

I would suggest these two approaches.. See which one fits best for you

http://weblogs.asp.net/rajbk/archive/2006/03/02/How-to-render-client-report-definition-files-_28002E00_rdlc_2900_-directly-to-the-Response-stream-without-preview.aspx

http://www.codeproject.com/KB/reporting-services/PDFUsingSQLRepServices.aspx

Subhash Dike
  • 1,836
  • 1
  • 22
  • 37
  • the problem it´s not just rendering the report, but sending automatically as a email... thanks any way –  Oct 13 '10 at 12:02
1

I think Jonathon has posted exactly what you need in this answer to my (similar) question a few days ago:

Distributing RDLC output as an email attachment

Community
  • 1
  • 1
hawbsl
  • 15,313
  • 25
  • 73
  • 114
  • thanks for the link, i had seen that before, but the solution fits well to winforms applications, my problem is doing it from asp.net... –  Oct 20 '10 at 00:01