protected void btn_siguiente_Click(object sender, EventArgs e) { if (Page.IsValid) { funcionesJuegos fJue = new funcionesJuegos(); if (Session["Juego"] == null) { Session["Juego"] = fJue.crearTabla(); } if (Session["Modificar"] == null) { jue.GenerarCod(); jue.precio = 0; jue.stock = 0; } jue.nombre = txb_nombre.Value.Replace('\'', '´'); jue.empresa = txb_empresa.Value; jue.tipo = txb_tipo.Value; jue.consola = rbl_listaConsolas.SelectedItem.ToString(); jue.descripcion = txb_descripcion.Value; jue.requisitos = txb_requisitos.Value; fJue.AgregarFila((DataTable)Session["Juego"], jue); Response.Redirect("AgregarJuego(Paso2).aspx"); } }