示例#1
0
        private void cboMaGT_SelectedIndexChanged(object sender, EventArgs e)
        {
            DataTable dt = kh.LoadTextBox(cboMaGT.Text);

            foreach (DataRow dr in dt.Rows)
            {
                txtTenGT.Text = dr["TenGT"].ToString();
                txtGia.Text   = dr["Gia"].ToString();
            }
        }