Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- namespace WebApplication1
- {
- public partial class Results : System.Web.UI.Page
- {
- string red;
- string blue;
- string green;
- string imię;
- string nazwisko;
- string wiek;
- protected void Page_Load(object sender, EventArgs e)
- {
- HttpCookie cookie2 = Request.Cookies["Licznik"]; //Cookie - licznik
- if (cookie2 != null)
- {
- Label2.Text = cookie2["licznik"].ToString();
- if (Application["roll"] != null) //ApplicationState - rzut
- Label3.Text = (string)Application["roll"];
- Label5.Text = Request.QueryString["losowa"]; //QueryString - losowanie
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement