private void LoadDo() { DoDAL db = new DoDAL(); lueDo.Properties.DataSource = db.Select((int)lueLoaiDo.EditValue); lueDo.Properties.DisplayMember = "TenDo"; lueDo.Properties.ValueMember = "ID"; }
private void LoadDo() { DoDAL db = new DoDAL(); gcDo.DataSource = db.Select(); }