Beispiel #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                trip    tripOjb = new trip();
                tripDAO tripDAO = new tripDAO();

                List <trip> tripList = new List <trip>();
                tripList            = tripDAO.getImmersionTripInfo();
                TripList.DataSource = tripList;
                TripList.DataBind();
            }
        }
Beispiel #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            tripDAO tripDAO = new tripDAO();

            List <trip> immTrip = new List <trip>();

            immTrip = tripDAO.getImmersionTripInfo();
            GridViewImmTrip.DataSource = immTrip;
            GridViewImmTrip.DataBind();

            List <trip> immTripHist = new List <trip>();

            immTripHist = tripDAO.getImmersionTripHist();
            GridViewImmHist.DataSource = immTripHist;
            GridViewImmHist.DataBind();
        }