水晶报表工具栏中翻页显示样式

yanyi1210 2010-12-02 01:32:22
报表页面如果多页,工具栏中的页数会显示‘1/1+’,怎样把1+改为真实的总的页数,
例如 总共为18页,需要改为 1/18
...全文
102 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
shaojiai211 2010-12-14
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 babyt 的回复:]
C# code

ReportDocument rd = new ReportDocument();
rd.Load(Server.MapPath("CrystalReport.rpt"));
CrystalReportViewer1.ReportSource = rd;
//增加下面两行语句
//跳到最后一页,这个动作后将显示所有页码
CrystalReportViewer1.Sh……
[/Quote]
阿泰:你给的这个代码,怎么用啊,我用的工具是Crystal Reports 2008,我不知道你这段代码怎么放?请具体说明下好吗
阿泰 2010-12-13
  • 打赏
  • 举报
回复

ReportDocument rd = new ReportDocument();
rd.Load(Server.MapPath("CrystalReport.rpt"));
CrystalReportViewer1.ReportSource = rd;
//增加下面两行语句
//跳到最后一页,这个动作后将显示所有页码
CrystalReportViewer1.ShowLastPage();
//然后再跳回第一页
CrystalReportViewer1.ShowFirstPage();
vtianfengv 2010-12-11
  • 打赏
  • 举报
回复
用表达式

4,816

社区成员

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

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