Crystal report Save as Pdf in defined path

Spending a lot's of time i figure out that you can save a crystal report as pdf in your defined path, It can be your local drive or server path.

  List<Student> studentList = new List<Student>();  
  studentList = GetStudentInfo();  
  ReportDocument details = new ReportDocument();  
  details.ExportToDisk(ExportFormatType.PortableDocFormat, "D:\\ff.pdf");  

Hope it will help you.

Popular posts from this blog

WPF Crystal Report Viewer Using SAP

mvc razor textboxfor change event change another textboxfor value

ASP.NET MVC razor SAP Crystal report