protected void btnTim_Click(object sender, EventArgs e)
 {
     DAO_Entity dao = new DAO_Entity();
     string tendetim = txtTimTen.Text;
     List<DTOKhachHang> kqTim = dao.TimTheoTenKH(tendetim);
     GridKH.DataSource = kqTim;
     GridKH.DataBind();
 }
        protected void btnTim_Click(object sender, EventArgs e)
        {
            DAO_Entity daoKH = new DAO_Entity();

            XuLy_TiepNhanDonHang control = new XuLy_TiepNhanDonHang();
            control.TimtenKH(txtTim.Text.Trim());

            List<DTOKhachHang> kqTim = daoKH.TimTheoTenKH(txtTim.Text.Trim());
            GridDSKH.DataSource = kqTim;
            GridDSKH.DataBind();
        }
 public void TimtenKH(string ten)
 {
     DAO_Entity dao = new DAO_Entity();
     dao.TimTheoTenKH(ten);
 }