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

            SubItemDao subDao = new SubItemDao();
            if (subDao.updateSubItem(orderId, vigencia) == "Ok")
            {
                Alerta.Text = "Datos Modificados en forma Correcta";
                Response.Redirect("MantenedorSubItem");

            }
            else
            {

                Alerta.Text = subDao.updateSubItem(orderId, vigencia);
            }
        }