Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. public class listadoinfo
  2. {
  3. public int folio { get; set; }
  4. public string nombre { get; set; }
  5. public string tipo { get; set; }
  6. public string titulo { get; set; }
  7.  
  8. }
  9.  
  10. mostrarofertas.folio = _reader.GetInt32(0);
  11.  
  12. }
  13. _conn.Close();
  14. return lista;
  15.  
  16. }
  17.  
  18. public List<listadoinfo> listado(listadoinfo pEN)
  19. {
  20. return ofertas.mostrardatos(pEN);
  21. }
  22.  
  23. if (!Page.IsPostBack)
  24.  
  25. {
  26.  
  27. {
  28.  
  29. ViewState["folio"] = Request.QueryString["folio"];
  30.  
  31. var folio = int.Parse(Request.QueryString["folio"]);
  32.  
  33. }
  34.  
  35. else if (!IsPostBack)
  36.  
  37. {
  38.  
  39. Response.Redirect("~/mostrar.aspx", true);
  40.  
  41. }
  42.  
  43.  
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement