Shomen Deb

Shomen Deb

  • NA
  • 43
  • 0

Again asking for parameters value while sending from c# to crystal report

Jul 29 2010 12:41 PM
Hello everybody,

I have discussed here in Csharpcorner about how to send parameters value to crystal report. I have been doing this for some reports and it's working. But sometimes it is asking for same value again. I would like to put my code here:

ParameterFields paramFields = new ParameterFields();

ParameterField buyername = new ParameterField();

buyername.Name = "Buyer";
ParameterDiscreteValue buyervalue = new ParameterDiscreteValue();
buyervalue.Value = buyer;
buyername.CurrentValues.Add(buyervalue);
paramFields.Add(buyername);

crystalReportViewer1.ParameterFieldInfo = paramFields;

Inspite of that, it's again asking for Buyer-Value. It happened many times while making of various reports. By giving an example, I wanted to make you understand.

Can anybody help me? how to solve this?

Attachment: Untitled.rar

Answers (1)