Quote:
quote:Originally posted by preetakrish
Hi friends,
Could anyone help me how to pass parameter in crystal report using c#.net?
im new to this.i need a sample code
Thanks a lot
preetha
|
I think I have a solution that does not make errors if U are interested :D
and that is the solution
Parameter_mohammad.ParameterFieldName)
Dim x As New CrystalReport1
x.SetParameterValue(x.Parameter_mohammad.Parameter FieldName,5)
'my point is that the parameter field(mohammad) becomes a property
'of the crystal report object(x.Parameter_mohammad) and the you take
'the parameter field name(x.Parameter_mohammad.ParameterFieldName)
' 5 is the value you want to assign
CrystalReportViewer1.ReportSource = x