示例#1
0
 protected void btnBorrarEmpleado_Click(object sender, EventArgs e)
 {
     if (datos.EliminarEmpleadoDB(InCodigo.Text))
     {
         LabelRta.Text = "El registro fue borrado correctamente";
         LimpiarCampos();
     }
     else
     {
         LabelRta.Text = "Error al actualizar" + datos.error;
     }
 }