VB.net中的报表查看器 [英] report viewer in VB.net
本文介绍了VB.net中的报表查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我的项目中有一个报表查看器,我想从报表"中获取一个字段值或进行比较,我该怎么做?
示例:我想用一个按钮转到ID_key = 20
的报告页面
* ID_key是report
Hi
i have a Report viewer in my project , i would like take a field value From Report Or compare it , how can i do that ?
Example : i would like with a button i go to Report Page with ID_key = 20
* ID_key is a example Field of Use in report
推荐答案
数据集设计器并添加查询
的示例使用范围 然后在单击按钮时单击Write This:
Data set Designer and add Query
then in click event of button Write This :
reportviewer1.(query name)(me.dataset)
这篇关于VB.net中的报表查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文