/// <summary> /// 绑定项目 /// </summary> private void BindItem() { using (ContractProvider contProvider = new ContractProvider()) { var row = contProvider.GetArprocess(this.CurrentID); if (row != null) { ORDNO.Text = row["ORDNO"].ToString().Trim(); ORDNAME.Text = row["scont"].ToString().Trim(); CURR.Text = row["scurr"].ToString().Trim(); CUSTNO.Text = row["scust"].ToString().Trim(); CUSTNAME.Text = row["scnme"].ToString().Trim(); ORDAMT.Text = row["stotal"].ToString().Trim(); } } }