I have a picture box in the report and in the graphic location i have given {parameter field}. In vb.net i have wriiten as,
Dim crParameterDiscreteValue As ParameterDiscreteValue
Dim crParameterFieldDefinitions As ParameterFieldDefinitions
Dim crParameterFieldLocation As ParameterFieldDefinition
Dim crParameterValues As ParameterValues
crParameterFieldDefinitions = cryrpt.DataDefinition.ParameterFields
crParameterFieldLocation = crParameterFieldDefinitions.Item("parameter field name")
crParameterValues = crParameterFieldLocation.CurrentValues
crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
crParameterDiscreteValue.Value = "E:\00.bmp"
crParameterValues.Add(crParameterDiscreteValue)
crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
while displaying it is showing the picture used while placing the picture box on the report. Can anyone help me?
Dim crParameterDiscreteValue As ParameterDiscreteValue
Dim crParameterFieldDefinitions As ParameterFieldDefinitions
Dim crParameterFieldLocation As ParameterFieldDefinition
Dim crParameterValues As ParameterValues
crParameterFieldDefinitions = cryrpt.DataDefinition.ParameterFields
crParameterFieldLocation = crParameterFieldDefinitions.Item("parameter field name")
crParameterValues = crParameterFieldLocation.CurrentValues
crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
crParameterDiscreteValue.Value = "E:\00.bmp"
crParameterValues.Add(crParameterDiscreteValue)
crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
while displaying it is showing the picture used while placing the picture box on the report. Can anyone help me?