code:
ParameterFields paramFields = new ParameterFields();
//setdata ParameterField
param_date = new ParameterField();
param_date.ParameterFieldName = "date";
ParameterDiscreteValue d = new ParameterDiscreteValue();
d.Value = this.date+" - "+this.datesf;
param_date.CurrentValues.Add(d);
paramFields.Add(param_date);
//set number
ParameterField param_no = new ParameterField();
param_no.ParameterFieldName = "number";
ParameterDiscreteValue number = new ParameterDiscreteValue();
if (this.no==0)
number.Value = "";
else
number.Value = this.no.ToString();
param_no.CurrentValues.Add(number);
paramFields.Add(param_no);
//and so on
repview_total.ParameterFieldInfo = paramFields;
No comments :
Post a Comment