private void LoadCmbThon() { string query = " select Distinct Thon from tblHoGiaDinh where MaDonViHanhChinh =" + clsConfig.MaDonVihanhChinh.ToString(); string[] DsThon = cls.GetList(query, "Thon"); cmbThon.Items.Clear(); if (DsThon.Length > 0) { for (int i = 0; i < DsThon.Length; i++) { cmbThon.Items.Add(DsThon[i]); } } }
private string[] GetMaBienDong(int _MaHoSo) { string query = " select MaDangKyBienDong from tblDangKyBienDongDatNN where MaHoSo = " + _MaHoSo.ToString(); return(cls.GetList(query, "MaDangKyBienDong")); }