none
ssrs :the parm parameter is missing a value ... RRS feed

  • Question

  • hi,

     

    i am faceing a problem while rendering the report to reportviewer from remote server,code  4 passing argument value is

       Dim RptParameters1 As ReportParameter() = New ReportParameter(2) {}
            RptParameters1(0) = New ReportParameter("ClientId", CbClients.SelectedValue.ToString)
            RptParameters1(1) = New ReportParameter("StartDate",           CType(dtpClientStartDate.Value.ToShortDateString & " " & "00:00:00.000", DateTime))
            RptParameters1(2) = New ReportParameter("EndDate", CType(dtpClientEndDate.Value.ToShortDateString & " " & "23:59:59.999", DateTime))


            Me.rvPreview.ServerReport.SetParameters(RptParameters1)

            Me.rvPreview.RefreshReport()

    when i run  this  code  it takes the  3 arguments  at RptParameters1 object,but report viewer after rendering the report  shows  a message:

    the client id parameter is missing a  value,

    i am not able to locate  area where the   report crash,Also report expects 3 arguments to process

    Please suggest

    thanks,

            

    rishi [URL=http://miniclipgames.name/ ]miniclip[/URL], [URL=http://www.btjunkie.name/ ]btjunkie[/URL], [URL=http://www.freedownloadgames.name/ ]games[/URL]

    • Moved by Bob Wu-MT Thursday, April 26, 2012 3:22 AM (From:Windows Forms Sample Applications)
    Wednesday, April 25, 2012 12:21 PM

Answers