protected void btnBorrarEmpleado_Click(object sender, EventArgs e) { //borrar empleado if (datos.EliminarEmpleado(InCodigo.Text)) { labelRta.Text = "El registro fue eliminado correctamente."; LimpiarCampos(); } else { labelRta.Text = "Error al eliminar " + datos.error; } }