Esempio n. 1
0
        private void btnTimTenTacGia_Click(object sender, EventArgs e)
        {
            int       matg = (int)cmbTenTacGia.SelectedValue;
            SachBUS   sb   = new SachBUS();
            DataTable dt   = new DataTable();

            dt = sb.LayBangTacGia(matg);
            dataGridView1.DataSource = dt;
        }