Stimulsoft.Report web报表的使用
2014-05-25 23:26
239 查看
1、先用报表设计工具设计报表Report1.mrt
2、在项目中添加对Stimulsoft.Base.dll、Stimulsoft.Report.dll、Stimulsoft.Report.Web.dll、Stimulsoft.Report.WebDesign.dll的引用
3、在aspx页面中注册控件
<%@ Register Namespace="Stimulsoft.Report.Web" TagPrefix="cc1" Assembly="Stimulsoft.Report.Web, Version=2012.3.1500.0, Culture=neutral, PublicKeyToken=096a9279a87304f1"%>
<%@ Register Namespace="Stimulsoft.Report.Web" TagPrefix="cc2" Assembly="Stimulsoft.Report.WebDesign, Version=2012.3.1500.0, Culture=neutral,PublicKeyToken=096a9279a87304f1"%>
4、在aspx页面中放置报表显示控件和报表设计控件
<cc1:StiWebViewer ID="StiWebViewer1" runat="server" GlobalizationFile="/Content/page/reports/Localization/zh-CHS.xml" ShowDesignButton="True" onreportdesign="StiWebViewer1_ReportDesign" Theme="Office2010" BackColor="#e8e8e8"/>
<cc2:StiWebDesigner ID="StiWebDesigner1" runat="server" LocalizationDirectory="/Content/page/reports/Localization/" Localization="zh-CHS"onsavereport="StiWebDesigner1_SaveReport"
/>
5、在代码文件中引用using Stimulsoft.Report;
6、在Page_Load中
string filepath = Server.MapPath("~/Report1.mrt");
StiReport stireport = new StiReport();
stireport.Load(filepath);
stireport.Compile();
StiWebViewer1.Report = stireport;
7、在StiWebViewer1的ReportDesign中
string filepath = Server.MapPath("~/Report1.mrt");
StiReport stireport = new StiReport();
stireport.Load(filepath);
stireport.Compile();
StiWebDesigner1.Design(stireport);
8、在StiWebDesigner1的SaveReport中
var report = e.Report;
string filepath = Server.MapPath("~/Report1.mrt");
report.Save(filepath);
2、在项目中添加对Stimulsoft.Base.dll、Stimulsoft.Report.dll、Stimulsoft.Report.Web.dll、Stimulsoft.Report.WebDesign.dll的引用
3、在aspx页面中注册控件
<%@ Register Namespace="Stimulsoft.Report.Web" TagPrefix="cc1" Assembly="Stimulsoft.Report.Web, Version=2012.3.1500.0, Culture=neutral, PublicKeyToken=096a9279a87304f1"%>
<%@ Register Namespace="Stimulsoft.Report.Web" TagPrefix="cc2" Assembly="Stimulsoft.Report.WebDesign, Version=2012.3.1500.0, Culture=neutral,PublicKeyToken=096a9279a87304f1"%>
4、在aspx页面中放置报表显示控件和报表设计控件
<cc1:StiWebViewer ID="StiWebViewer1" runat="server" GlobalizationFile="/Content/page/reports/Localization/zh-CHS.xml" ShowDesignButton="True" onreportdesign="StiWebViewer1_ReportDesign" Theme="Office2010" BackColor="#e8e8e8"/>
<cc2:StiWebDesigner ID="StiWebDesigner1" runat="server" LocalizationDirectory="/Content/page/reports/Localization/" Localization="zh-CHS"onsavereport="StiWebDesigner1_SaveReport"
/>
5、在代码文件中引用using Stimulsoft.Report;
6、在Page_Load中
string filepath = Server.MapPath("~/Report1.mrt");
StiReport stireport = new StiReport();
stireport.Load(filepath);
stireport.Compile();
StiWebViewer1.Report = stireport;
7、在StiWebViewer1的ReportDesign中
string filepath = Server.MapPath("~/Report1.mrt");
StiReport stireport = new StiReport();
stireport.Load(filepath);
stireport.Compile();
StiWebDesigner1.Design(stireport);
8、在StiWebDesigner1的SaveReport中
var report = e.Report;
string filepath = Server.MapPath("~/Report1.mrt");
report.Save(filepath);
相关文章推荐
- Stimulsoft.Report web报表的使用
- Stimulsoft.Report 2、 web报表的使用
- 使用JavaReport制作Web报表与图形 入门示例
- Web项目中使用RDLC报表可以打印吗?
- 使用ActiveReport for .net 进行报表开发(二)--绑定数据源
- web下水晶报表的使用! 选择自 Jeacey 的 Blog
- iReport 和 Jasperreport整合开发web报表向导(3)
- iReport 和 Jasperreport 整合开发 WEB 报表向导(一)
- iReport 和 Jasperreport整合开发web报表向导(2)
- 使用ActiveReport for .net 进行报表开发(一)--开始
- 使用Jasperreport作为报表控件开发Web 报表应用
- 使用ActiveReport for .net 进行报表开发(四)—显示主从表
- iReport 和 Jasperreport整合开发web报表向导(1)
- 在WEB图形报表中如何使用jFreeChart
- iReport 和 Jasperreport整合开发web报表向导(1)
- 使用ActiveReport for .net 进行报表开发(三)--显示对象集合中的数据
- iReport 和 Jasperreport整合开发web报表向导(1) Jplateau [原作]
- 改善图象质量,当使用 Visual Studio .NET 在 Web 上查看水晶报表报表时
- iReport 和 Jasperreport 整合开发 WEB 报表向导(一)
- Web项目中使用RDLC报表可以打印吗?