Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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...
Posted

 
Share this answer
 
v2
Comments
SelfCom 29-Apr-14 8:02am    
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 ?
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 ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900