Vb.Net Passing String From Form to Report Viewer using Report Parameter

preview_player
Показать описание
specify parameter in report
1. add parameter in report property

using report parameters
1. specify Imports Microsoft.Reporting.Winforms
2. declare variable for report parameter
as New ReportParameter("ParamName", Value)
3. set Reportname.LocalReport.SetParameter(ParamName)
4. refresh Report
Рекомендации по теме
Комментарии
Автор

Big thank for your great job, this tool will help me in many programs that was interrupted due to missing the print tool.

mahdisaleh.learning
Автор

This video was really helpful, thanks

Phoenix-ryiz
Автор

Thank you, this helps a lot, I'll exploit how to use it more efficiently

NoFaceElf
Автор

Thanks bro (y), very useful for beginners  

prappoprince
Автор

Great tutorial, thank you so much!
Do you know, if there is a way to passing to a report, the current row of a DataGridView?

CarloArmanniPG
Автор

Thx to poster, if there are more parameters u repeat the parameter declaration as simple as that.

danielgarcia
Автор

With ReportViewer how do you code for multiple reports with varying parameters per report ?

grlewycky
Автор

Any idea how I might be able to get the header to print on every page?

sumsw
Автор

what if i want to pass the current row from datagridview to eportviewer in another form using vb.net?

abby-xbjs
Автор

Sir i''m little bit confused of your code..may i know this code "testParam" where 's came from..?

mamalintakusin
Автор

What code can I use to do the same but with crystal report?

jorge.mpjunior
Автор

How can I pass a datagridview to a report? without BD.

ivancho
Автор

what is there are several parameters  ?

gimpabict
Автор

Sir u have added textbox value to simple report. How can i pass textbox values to If I add crystal Report to my Form. This code is not working Sir. Plz any help will be greatly appreciated.

shairafghan
Автор

what if there are more than one parameter

tameraz
Автор

add parameter in report property no me sale

gilberalejandromenareyes