1

我通过搜索谷歌找到了一些方法,但这对我不起作用。这是我的代码:

thongkedonhang rpt = new thongkedonhang();
            ParameterFields pfields = new ParameterFields();
             ParameterField pfieldSTAFF = new ParameterField();
           ParameterDiscreteValue disValSTAFF = new ParameterDiscreteValue();
           disValSTAFF.Value = tungay;
           pfieldSTAFF.Name = "d1";
           pfieldSTAFF.CurrentValues.Add(disValSTAFF);

              pfields.Add(pfieldSTAFF);

         crpt_thongkedondh.ParameterFieldInfo = pfields;
4

1 回答 1

0
thongkedonhang rpt = new thongkedonhang();
thongkedonhang .SetParameterValue("ParameterName", disValSTAFF);

代替ParameterName设置 ypur 的 ValurParameter

于 2013-05-13T08:24:00.180 回答