Esempio n. 1
0
        private void frmQuery_Load(object sender, EventArgs e)
        {
            baseinfo.CoPassData(cmbID, "select distinct ID from BasicData", 0);
            baseinfo.CoPassData(cmbSex, "select distinct Sex from BasicData", 0);
            baseinfo.CoPassData(cmbIDCard, "select distinct IDCard from BasicData", 0);

            dgvQueryList.DataSource = baseinfo.GetAllBasicData("BasicData").Tables[0].DefaultView;
            this.SetdgvQueryListHeadText();
        }