ReportViewer.ServerReport.SetParameters - Help needed

  • Thread starter Thread starter runningdog
  • Start date Start date
R

runningdog

Hi,

I've tried to follow the example provided in
http://msdn2.microsoft.com/en-us/li...ting.winforms.serverreport.setparameters.aspx
in a server report with multiple parameters but can not get it to work. No
errors just no values in my parameters. Can someone point me in the right
direction please.

Platform is;
SQL Server 2005
VS 2005
.Net 2

With ReportViewer
.ServerReport.ReportPath = _Path
.ServerReport.DisplayName = _Title

Dim ReportId As New ReportParameter("ReportId", _ReportId)
Dim OrgName As New ReportParameter("Organization",
config.SiteDetails.Name)
Dim LogoPath As New ReportParameter("Logo", My.Settings.Logo)
Dim p() As ReportParameter = {ReportId, OrgName, LogoPath}

.ServerReport.SetParameters(p)
.ServerReport.Refresh()
End With

TIA Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top