Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
In my ASP.Net project, I have added a data report and connected with dataset. It works fine but I have two issues:

1) I want to load the report after a button on the page carrying MSReportViwer is pressed, say
it is Show Report button.
At the moment report is loading just at form load.

2) I want to pass some parameter values to the sql query generating the report.
For example Where Name=@NM and City=@CT
values of NM and CT shall be given in the text boxes on the same form. After this i press the button 'Show Report' and it should display the report.

Please advise how to do it.
Thanks
Posted

1 solution

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