private void txtTimDocGia_EditValueChanged(object sender, EventArgs e) { if (txtTimDocGia.Text == "") { gridControl1.DataSource = docGiaBUS.GetList(); } else { gridControl1.DataSource = docGiaBUS.TimKiem(txtTimDocGia.Text); } }
private void ucFrmQLThanhVien_Load(object sender, EventArgs e) { gridControl1.DataSource = docGiaBUS.GetList(); lb_MDG.Visible = false; lb_Trung.Visible = false; }