Example #1
0
 /// <summary>
 /// 绑定列表
 /// </summary>
 private void BindList()
 {
     using (ContractProvider contProvider = new ContractProvider())
     {
         List.DataSource = contProvider.GetCustomerByName(CustName.Text.Trim());
     }
     List.DataBind();
 }