参数不反映刺激软件中的面板(C#)

时间:2015-05-14 11:34:33

标签: c# c#-4.0 stimulsoft

显示报告的参数面板 我不想表演。
http://s3.picofile.com/file/8188412526/showParameter.png


我的代码是:

StiReport sr = new StiReport();
sr.Load(ClsVariable.Address + "ReportCustomerBuy.mrt");
sr.Dictionary.Variables["Ccode"].Value = txtCode.Text;
sr.Dictionary.Variables["Cname"].Value = txtName.Text;
sr.Dictionary.Variables["Ctel"].Value = txtTel.Text;
sr.Dictionary.Variables["Caddress"].Value = txtAddress.Text;
sr.Dictionary.Variables["Cfathername"].Value = txtFatherName.Text;
sr.Dictionary.Variables["Cdate"].Value = txtDate.Text;
sr.Dictionary.Variables["CPay"].Value = lblGivePrice.Text;
sr.Dictionary.Variables["CHesabK"].Value = lblPriceKK.Text;
sr.Dictionary.Variables["CBedehkar"].Value = s;
sr.Show();

1 个答案:

答案 0 :(得分:2)

停用request from user property

sr.Dictionary.Variables["Ccode"].RequestFromUser = false;