1

显示参数面板报告。
我不想秀。 (来源:picofile.com


我的代码是:

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();
4

1 回答 1

2

禁用来自用户属性的请求

sr.Dictionary.Variables["Ccode"].RequestFromUser = false;
于 2015-05-14T11:41:27.123 回答