//定义报表模板

private GridppReport Report = new GridppReport();

//载入报表模板数据

Report.LoadFromFile(GridppReportDemo.Utility.GetReportTemplatePath() + "program\\Sale detail of product.grf");

//设置与数据源的连接串,因为在设计时指定的数据库路径是绝对路径

Report.DetailGrid.Recordset.ConnectionString = GridppReportDemo.Utility.GetDatabaseConnectionString();

//连接报表取数事件

Report.Initialize += new _IGridppReportEvents_InitializeEventHandler(ReportInitialize);

Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecord);

//设定查询显示器关联的报表

axGRDisplayViewer1.Report = Report;

最新文章

  1. Xamarin+Prism开发详解一:PCL跨平台类库与Profile的关系
  2. Ubuntu 用vsftpd 配置FTP服务器
  3. 《大象-Think In UML》读书笔记1
  4. Element can be click when out of view
  5. Math中floor,round和ceil的区别
  6. Golang学习 - unsafe 包
  7. web2.0最全的国外API应用集合
  8. Asp.Net 前后台交互小结
  9. java一般使用基础
  10. 指针与数据结构算法_链表(C语言)
  11. 道路修建 2(自创题+题解)(From NOI2011)
  12. canvas常用api
  13. day02 解释器安装及初识变量
  14. unity重写软键盘for Android NGUI
  15. Django中ORM简介与单表数据操作
  16. 基于bootstrap模态框的日期选择器
  17. 将python环境打包成.txt文件
  18. windows下误修改了环境变量path怎么办
  19. JNI探秘-----你不知道的FileInputStream的秘密
  20. maven(15),快照与发布,RELEASE与SNAPSHOT

热门文章

  1. EasyUITree设置节点选中
  2. 搭建java环境和java学习
  3. MarkDown,写出个性、漂亮的文档
  4. PHP字符串大小写转换函数
  5. linux_配置三台虚拟机免密登录
  6. Quartz(强大的定时器)
  7. 如何将spring boot项目打包成war包
  8. k-SLAM:k-mer Sorted List Alignment and Metagenomics
  9. 2018.11.09 洛谷P1110 [ZJOI2007]报表统计(multiset)
  10. HDU 4310 Hero (贪心)