/// <summary> /// 绑定项目 /// </summary> private void BindItem() { using (ContractProvider contProvider = new ContractProvider()) { var row = contProvider.GetZbSkInfo(this.ORDNO.Text.Trim(), this.CurrentStNo, this.Seq.Text.Trim()); this.CUSTNO.Text = row["CUSTNO"].ToString(); this.CUSTNAME.Text = row["CUSTNAME"].ToString(); this.zbname.Text = row["zbname"].ToString(); this.zbtotal.Text = row["zbtotal"].ToString(); this.zbskamt.Text = row["zbskamt"].ToString(); this.remainzb.Text = row["remainzb"].ToString(); var table = contProvider.GetZbSkList(this.ORDNO.Text.Trim(), this.CurrentStNo, this.Seq.Text.Trim()); ViewState["ViewDT"] = table; BindTempData(); } }