Esempio n. 1
0
        private void LoadListKhachAo()
        {
            List <DanhBaKhachAo> lstKhachAo = new List <DanhBaKhachAo>();

            lstKhachAo = DanhBaKhachAo.GetDanhSachKhachAo();
            gridDanhMucKhachAo.DataSource = lstKhachAo;
        }
        private void LoadListKhachAo()
        {
            List <DanhBaKhachAo> lstKhachAo = new List <DanhBaKhachAo>();

            lstKhachAo = DanhBaKhachAo.GetDanhSachKhachAo();

            gridKhachAo.DataMember = "ListOfKhachAo";
            gridKhachAo.SetDataBinding(lstKhachAo, "ListOfKhachAo");
        }