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

xzg1109 2012-05-25 07:28:17
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后,显示不出来图片。多谢指教!!!

...全文
94 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xzg1109 2012-05-25
  • 打赏
  • 举报
回复
rdlc如何设置页眉为网上图片?

4,819

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 图表区
社区管理员
  • 图表区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧