Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7.  
  8. namespace WebApplication1
  9. {
  10. public partial class Results : System.Web.UI.Page
  11. {
  12.  
  13. string red;
  14. string blue;
  15. string green;
  16. string imię;
  17. string nazwisko;
  18. string wiek;
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. protected void Page_Load(object sender, EventArgs e)
  27. {
  28.  
  29.  
  30.  
  31.  
  32.  
  33. HttpCookie cookie2 = Request.Cookies["Licznik"]; //Cookie - licznik
  34.  
  35. if (cookie2 != null)
  36. {
  37. Label2.Text = cookie2["licznik"].ToString();
  38.  
  39.  
  40.  
  41.  
  42. if (Application["roll"] != null) //ApplicationState - rzut
  43. Label3.Text = (string)Application["roll"];
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51. Label5.Text = Request.QueryString["losowa"]; //QueryString - losowanie
  52.  
  53.  
  54.  
  55. }
  56. }
  57. }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement