Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a report coRpt. I have defin

Status
Not open for further replies.

davi123

Programmer
Jul 10, 2003
46
0
0
US
I have a report coRpt. I have define a parametere param1 in that report.
In my web application(aspx page) I am writing this code to assign a value to that parameter.

coRpt.DataDefinition.ParameterFields["param1"] = "MC";

when i complie the app I am getting this error.

'CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.this[string]' cannot be assigned to -- it is read only

Cannot implicitly convert type 'string' to 'CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition'

I am using crystal report.NET. I don't know how to use parameters in report.



Thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top