Dear all,
Can I assign values to a ReportViewer during the Run-time ?
C#
ReportViewer1.ServerReport.ReportPath = "/Human_Department/Department";
ReportViewer1.ServerReport.ReportServerUrl = "http://dev7/ReportServer$dev7003";
The 2nd statement always says : Cannot implicitly convert type 'string' to 'System.Url'.
I want to do this because I want to add input parameters to the Report through my C# program rather than the SQL Report's own parameter input screen.
Why ? Because I want to use my own validation rules.
Can I assgin values to a ReportView's ReportServerUrl during the Run-time ?