コード例 #1
0
        private void txtSearch_TextChanged(object sender, EventArgs e)
        {
            List <ThongTinKhachHang> lst = funcTK.timTaiKhoan(txtSearch.Text);

            if (lst != null)
            {
                thongTinKhachHangBindingSource.Clear();
                foreach (ThongTinKhachHang item in lst)
                {
                    thongTinKhachHangBindingSource.Add(item);
                }
            }
        }
コード例 #2
0
        private void loadTimTaiKhoan()
        {
            List <ThongTinKhachHang> lst = funcTK.timTaiKhoan(txtSearch.Text);

            if (lst != null)
            {
                thongTinKhachHangBindingSource.Clear();
                foreach (ThongTinKhachHang item in lst)
                {
                    thongTinKhachHangBindingSource.Add(item);
                }
            }
        }