/// <summary> /// 绑定列表 /// </summary> private void BindList() { using (ContractProvider contProvider = new ContractProvider()) { List.DataSource = contProvider.GetReceivableInfo(ORDNO.Text.Trim(), ORDNAME.Text.Trim(), CUSTNO.Text.Trim(), CUSTNAME.Text.Trim(), CURR.SelectedValue.Trim(), ORDAMT.Text.Trim()); } List.DataBind(); }