如何在aspx页面中获取水晶报表的对象值 [英] How to get object values of crystal reports in aspx page

查看:104
本文介绍了如何在aspx页面中获取水晶报表的对象值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

如何从CodeBehind文件中的水晶报表中获取报表对象的值。

 How can  I get values of report objects from crystal reports in my  CodeBehind file. 

提前致谢。

推荐答案

试试这个:

使用ReportDocument对象模型。

将报表文件加载到ReportDocument对象中时,可以通过ReportDefinition属性访问报表的对象。

myReportDocument.ReportDefinition.ReportObjects [int index];

myReportDocument.ReportDefinition.ReportObjects [string objectName];


这篇关于如何在aspx页面中获取水晶报表的对象值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆