LocalReport下载文件的名称指定

Microsoft.Reporting.WebForms.LocalReport.DisplayName属性

 

在设置报表路径后,赋值

localReport.LoadReportDefinition(stream);

localReport.ReportPath = "c:\1.rdl";

之后

localReport.DisplayName = "MyFileName";

posted @ 2012-06-07 16:56  I'm CY  阅读(243)  评论(0编辑  收藏  举报