Sunday, February 11, 2007

Crystal Report prompts for report parameters in VS.Net 2005 after being upgraded (VS.Net 2003)

I got parameter prompts when i run my windows application after upgrading to framework 2.0. The application was built on .net 1.1 and was running successfully


Pass the parameter after binding the report document to the report viewer component as below. (I passed it before binding to CRV component in .net 2003)

crv.ReportSource = rptDoc;
rptDoc.SetParameterValue("BRAND", Application.ProductName);


No comments: