Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["Organiser"] == null)
     {
         Response.Redirect("~/Login.aspx");
     }
     else
     {
         Organiser organiser = (Organiser)Session["Organiser"];
         lblSocietyName.Text   = organiser.Society.ToString();
         Page.Title            = organiser.Society.ToString();
         rptrEvents.DataSource = Society.GetEvents(organiser.Society);
         rptrEvents.DataBind();
     }
 }