System.IO.DirectoryInfo outputDirectory = new System.IO.DirectoryInfo(savePath + "\\Reports");
// Provide settings for your rendering output.
GrapeCity.ActiveReports.Export.Pdf.Page.Settings pdfSetting = new GrapeCity.ActiveReports.Export.Pdf.Page.Settings();
outputDirectory.Create();
rpt.Report.ReportParameters[0].DefaultValue.Values.Clear();
rpt.Report.ReportParameters[0].DefaultValue.Values.Add(tmbh);
GrapeCity.ActiveReports.Document.PageDocument reportDocument = new GrapeCity.ActiveReports.Document.PageDocument(rpt);
GrapeCity.ActiveReports.Export.Pdf.Page.PdfRenderingExtension pdfRenderingExtension = new GrapeCity.ActiveReports.Export.Pdf.Page.PdfRenderingExtension();
GrapeCity.ActiveReports.Rendering.IO.FileStreamProvider outputProvider = new GrapeCity.ActiveReports.Rendering.IO.FileStreamProvider(outputDirectory, System.IO.Path.GetFileNameWithoutExtension(fileName));
// Overwrite output file if it already exists
outputProvider.OverwriteOutputFile = true;