Thanks a lot dgk. You covered both cases and the second was the case
needed. Although an other problem arised. I got this error message :
"The source of the report definition has not been specified"
I thought that when you set the report in the report viewer control
the work is done but unfortunately this is not the case.
Even more, I don't have a clue of what I am supposed to do.
(I know I have to set the reportviewer to load the report but
I do not know how to do that)
Rookie in RS I suppose...
>
> If you're using a reportviewer control, parameters are done like this:
>
> Dim RptParm As New
> Microsoft.Reporting.WebForms.ReportParameter("FileNumParam",
> lblFileNum.Text) ' name/value pair for a parameter
>
> Dim RptParms As New Generic.List(Of
> Microsoft.Reporting.WebForms.ReportParameter)
>
> RptParms.Add(RptParm)
> ' add more parameters as necessary to RptParams
>
> Reportviewer1.ServerReport.SetParameters(RptParms)On Thu, 12 Oct 2006 11:18:18 +0300, "Nick Hatzis"
<boghatzisn@.panafonet.gr> wrote:
>Thanks a lot dgk. You covered both cases and the second was the case
>needed. Although an other problem arised. I got this error message :
>"The source of the report definition has not been specified"
>I thought that when you set the report in the report viewer control
>the work is done but unfortunately this is not the case.
>Even more, I don't have a clue of what I am supposed to do.
>(I know I have to set the reportviewer to load the report but
>I do not know how to do that)
>Rookie in RS I suppose...
A really good source of info for ReportViewer is
www.gotreportviewer.com. Documentation for RV is not very good and the
tutorials on that site help a lot.
I'm not sure what the error message is about though.
Showing posts with label arised. Show all posts
Showing posts with label arised. Show all posts
Sunday, February 19, 2012
Subscribe to:
Posts (Atom)