public void ShowPhongBan() { DataTable dt = new DataTable(); dt = pbBus.GetData(); cmbMaPB.DataSource = dt; cmbMaPB.DisplayMember = "TenPB"; cmbMaPB.ValueMember = "MaPB"; }
private void HienThi() { dgvPhongBan.DataSource = Bus.GetData(); }