X
Xpeppe
Hy, i read the article in msdn2
Using a Database Data Source with the ReportViewer Windows Forms Control in
Local Processing Mode
But i don want to use the designer assosation to the report,
i want to define by code (at run time) the report and the
data source to be display.
example :
i have two table on sqlclient db file (anagrafica and pratica)
and i have two report (rpt_anagrafica.rdlc and rpt_pratica.rdlc)
in a form a have two button, one for visualize the first repor (whit his
data anagrafica) and
one to visualize the second report (whit his data pratica) ,
when run the application i want to decide what report to be visualize.
for this i don't now what is the metod
have yuo any example ?
I hope explain correctly (sorry for my english) thank's.
Using a Database Data Source with the ReportViewer Windows Forms Control in
Local Processing Mode
But i don want to use the designer assosation to the report,
i want to define by code (at run time) the report and the
data source to be display.
example :
i have two table on sqlclient db file (anagrafica and pratica)
and i have two report (rpt_anagrafica.rdlc and rpt_pratica.rdlc)
in a form a have two button, one for visualize the first repor (whit his
data anagrafica) and
one to visualize the second report (whit his data pratica) ,
when run the application i want to decide what report to be visualize.
for this i don't now what is the metod
have yuo any example ?
I hope explain correctly (sorry for my english) thank's.