Ejemplo n.º 1
0
        private void buttonChitiet_Click(object sender, EventArgs e)
        {
            string id = dataGridViewTruong.CurrentRow.Cells[0].Value.ToString();

            var formTuyenSinh = new FormTuyenSinh(id, "");

            formTuyenSinh.ShowDialog();
        }
Ejemplo n.º 2
0
 private void buttonLuu_Click(object sender, EventArgs e)
 {
     try
     {
         ExcuteSql.excuteCom(sql1());
         MessageBox.Show("Lưu thành công.");
         FormTuyenSinh fts = new FormTuyenSinh(id, Nam.Text);
         this.Close();
     }
     catch
     {
         MessageBox.Show("Lỗi! Kiểm tra lại thông tin trên form.");
     }
 }