Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["loginData"] != null)
            {
                userData = (User)Session["loginData"];
            }
            else
            {
                Response.Redirect("Default.aspx");
            }



            reservationsList = DBconnection.getClassReservations(userData.Id, "Class");

            displayReservations(reservationsList);

            reservationsList = DBconnection.getClassReservations(userData.Id, "Workshop");
            displayReservations(reservationsList);

            displayWaitingLists(DBconnection.viewUserQueues(userData.Id));
        }