1金币
最佳答案GrapeCity.ActiveReports.PageReport rpt = new GrapeCity.ActiveReports.PageReport();
rpt.Load(new System.IO.FileInfo("report.rdlx"));//这个路径要写正确
rpt.Run();
string filePath = "d:/123.pdf";
StreamProvider StreamProvider = new FileStreamProvider(new DirectoryInfo(Path.GetDirectoryName(filePath)), Path.GetFileNameWithoutExtension(filePath));
...
| |
| |
| |
| |