예제 #1
0
 private void bbtnactualizar_Click(object sender, EventArgs e)
 {
     if (txtfolio.Text.Length > 0)
     {
         if (Act.Agencia_Aduanal(txtfolio.Text, cmbprefolio.Text, cmbregfolio.Text, txtagencia.Text, txtpatente.Text, txtnombre.Text, txtpaterno.Text, txtmaterno.Text, txtgafete.Text))
         {
             MessageBox.Show("Registros actualizado");
         }
         else
         {
             MessageBox.Show("No es posible actualizar el registro");
         }
         con.Con_Agencia_Aduanal(dgvdatos);
     }
 }