Exemple #1
0
 protected void btnEliminar_Click1(object sender, EventArgs e)
 {
     if (txtId.Text == "")
     {
         txtAlerta.Visible = true;
         txtAlerta.Text    = "Por favor seleccione un registro para Eliminar";
     }
     else
     {
         //======ELIMINAR
         obj.Eliminar_Semestre(Convert.ToInt16(txtId.Text));
         listar();
         limpiar();
         txtCorrecto.Visible = true;
         txtCorrecto.Text    = "Se Eliminó Correctamente";
     }
 }