protected void Page_Load(object sender, EventArgs e)
        {
            DaoReservation daoReservation = new DaoReservation();

            this.lsvReservations.DataSource = daoReservation.GetReservations();
            this.lsvReservations.DataBind();
        }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            daoReservation = new DaoReservation();

            if (!IsPostBack)
            {
                this.gdvReservation.DataSource = daoReservation.GetReservations();
                this.gdvReservation.DataBind();
            }
        }