Binding dataset to Report.rdlc (on ReportViewer) programmatically

oscameza

New member
Joined
Jun 8, 2011
Messages
4
Programming Experience
1-3
I created a report (RDLC) using the wizard and connect to a SQL Server database, but everything just fine in my environment.

That is, if I want to run the same report by connecting to another database that is in another location, of course not work.

I understand that the problem be solved if the connection between my report and SQL Server I get to do programmatically, but still can not findhow to do it .

Please, can any of you have seen out there somewhere, an example that allows me to dynamically connect my Report (ReportViewer) any instance of SQL Server?

In VB.Net, of course ...

Thanks.
 
Back
Top