Пример #1
0
        public void LayComboboxQuocTich(ComboBoxEx cmb)
        {
            QuocTichData data = new QuocTichData();

            cmb.DataSource    = data.LayDSQuocTich();
            cmb.DisplayMember = "TENQUOCTICH";
            cmb.ValueMember   = "MAQUOCTICH";
        }
Пример #2
0
        public void LayDSQuocTich(DataGridView dg)
        {
            QuocTichData data = new QuocTichData();

            dg.DataSource = data.LayDSQuocTich();
        }