如何在VB.Net中生成Report rdlc以显示特定记录 [英] How to make Report rdlc in VB.Net to display specific records

查看:72
本文介绍了如何在VB.Net中生成Report rdlc以显示特定记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我只想在报告中显示特定数据。我已经为show特定记录进行了参数库查询。我不知道该怎么办?



查询是:从TestReport中选择*,其中TestNo = @TestNo



i已在RDLC报告中设置字段但没有得到如何将价值传递给@TestNo?



请指导...

Dear All,

I just want to show particular data in report. i have made parameter base query for show specific record. I am not getting how to do ?

Query is : select * from TestReport where TestNo= @TestNo

i have set fields on RDLC report but not getting how to pass value to @TestNo ?

Please guide...

推荐答案

check以下答案

如何将textbox / Combobox值传递给rdlc报告文本字段? [ ^ ]

将文本框值传递给visual studio 2010中rdlc文件中的参数 [ ^ ]



http://myaspdotnettrainings.blogspot.com/2012/07/rdlc -report-definition-language-client.html [ ^ ]
check below answers
How to pass textbox/Combobox value to rdlc report text field?[^]
Pass textbox value to parameter in rdlc file in visual studio 2010[^]

http://myaspdotnettrainings.blogspot.com/2012/07/rdlc-report-definition-language-client.html[^]


我有一个表TestReport,其字段如下:



TestNo - 整数

PatientName - 字符串

添加 - 字符串

..

..

..

..





i想要显示特定的TestNo报告。< br $>


i在DataSet TableAdapter中写道:select * from TestReport。



关于此tableadapter的RDLC报告。它显示所有记录。



我想显示TestNo = 2的记录



如何设置使用TestNo字段报告参数?
I have a table "TestReport" with as below fields :

TestNo - integer
PatientName - String
Add - String
..
..
..
..


i want to show specific TestNo report.

i have write : " select * from TestReport " in DataSet TableAdapter.

Made RDLC report on this tableadapter. It shows all records.

I want to show record of TestNo = 2

How can I set report parameter with TestNo field ?


这篇关于如何在VB.Net中生成Report rdlc以显示特定记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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