首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

rdlc 动态获取图片干页眉,页脚

2012-12-17 
rdlc 动态获取图片作页眉,页脚 pathHeadUrl @http://localhost:90/files.ashx?filereport/template/me

rdlc 动态获取图片作页眉,页脚
 pathHeadUrl = @"http://localhost:90/files.ashx?file=report/template/mets/2_footer.jpg";

  ReportParameter  imageHead = new ReportParameter("HeadImgUrl", pathHeadUrl);

 List<ReportParameter> parameterList = new List<ReportParameter>();
            parameterList.Add(imageHead);

 this.ReportViewer1.LocalReport.SetParameters(parameterList);
            this.ReportViewer1.LocalReport.Refresh();

问题是,“http://localhost:90/files.ashx?file=report/template/mets/2_footer.jpg”,可以在浏览器中看到,
但是作为值传给参数时,导出word后,显示不出来图片。多谢指教!!!


[解决办法]
rdlc如何设置页眉为网上图片?

热点排行