Skip to Content
0
Former Member
Apr 13, 2010 at 10:00 AM

Automatically save report to pdf

17 Views

Greetings!

I can export a report to pdf format. But I want to do a little more automation. I want when user press a button report should be saved to user computer with the given name on the given place without asking user.

I mean the report should be saved to C:\MyReports\Report01.pdf .

How could I accomplish it in Visual Studio 2005 by using ASP.NET using c#.

NOTE: code to export to pdf is as

reportdocl.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false , "Report01.pdf");

Thanks!

M.MaShaAllah