protected void btnGuardarSubItem_Click(object sender, EventArgs e) { Alerta.Enabled = true; String strManSubItemDescripcion = txtSubItem.Text; SubItemDao subDao = new SubItemDao(); if (subDao.insertSubItem(strManSubItemDescripcion) == "Ok") { Alerta.Text = "Se ha guardado correctamente"; Response.Redirect("MantenedorSubItem"); } else { Alerta.Text = subDao.insertSubItem(strManSubItemDescripcion); } }