public void LoadData() { btnThem.Enabled = true; btnSua.Enabled = true; btnXoa.Enabled = true; btnLuu.Enabled = false; txtTongTien.Enabled = true; dataGridView1.DataSource = dt.TimPhi(); DataTable dt1 = null; dt1 = new DataTable(); dt1 = dt.LayDSPhi(); comboBox1.DataSource = dt1; comboBox1.DisplayMember = "TenPhi"; comboBox1.ValueMember = "MaPhi"; tam = 2; LayTenNhanVien(); DayLenToolStrips(); }
public void LoadData() { dataGridView1.DataSource = dt.LayDSPhi(); LayTenNhanVien(); DayLenToolStrips(); }