report viewer
I want make report with using msreport viewer in winform vb.net and I want filter date column in my table using two combobox inside the same winform.How to link above two combobox to with report viwer document please help me.
upula
November 15th, 2010 8:38am
Hi upula,
In order to pass parameters specified in the ComboBox control to the report in the ReportViewer, please refer to the steps below:
1.
Make sure the report is designed with parameters to filter the table in it. About Using Parameters to Control Report Data, please read the article at
http://msdn.microsoft.com/en-us/library/aa337287(v=SQL.100).aspx
2.
To pass the selected value in ComboBox to the report. We can using the
SetParameters function.
If the ReportViewer displays a local RDLC report, please refer to:
http://msdn.microsoft.com/en-us/library/ms252146(v=VS.90).aspx
If the ReportViewer runs in Remote mode that displays a server report, please refer to:
http://msdn.microsoft.com/en-us/library/ms252663(v=VS.90).aspx
If I have something misunderstood, please point out.
Thanks,
Tony ChainPlease remember to mark the replies as answers if they help and unmark them if they provide no help
Free Windows Admin Tool Kit Click here and download it now
November 17th, 2010 3:51am
Thanks TONY
I got lot from your refer links.
If have any sample code in vb.net in report viewer with filtering datetime data send me.
upulaupula
November 19th, 2010 8:06am