Пример #1
0
        protected void btnGuardarLineaA_Click(object sender, EventArgs e)
        {
            int orderId = Convert.ToInt32(lbl_IdLineaAccionN.Text);

            LineaAccionDao linDao = new LineaAccionDao();
            if (linDao.updateLineaAccion(orderId, vigencia) == "Ok")
            {
                Alerta.Text = "Datos Modificados en forma Correcta";
                Response.Redirect("MantenedorLineaAccion");

            }
            else
            {

                Alerta.Text = linDao.updateLineaAccion(orderId, vigencia);
            }
        }