protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { try { Int32 nid_cita = Convert.ToInt32(Request.QueryString["cita"].ToString()); String opcion = Request.QueryString["op"].ToString(); CitasBE ent = new CitasBE(); CitasBL neg = new CitasBL(); Response.Write("opcion seleccionada : " + opcion + " cita seleccionada: " + nid_cita.ToString()); ent.nid_cita = nid_cita; ent.co_estado_cita = opcion; ent.co_usuario_crea = ""; ent.co_usuario_red = ""; ent.no_estacion_red = ""; ent.fl_activo = "A"; neg.ConfirmarCitaPorCorreo(ent); Response.Write("Cita Actualizada"); } catch { } } }