Пример #1
0
        public void loadData()
        {
            tableTicket.DataSource = null;
            tableTicket.DataSource = flightDAO.GetAllFlight(pageIndex, pageSize);
            tableTicket.DataBind();
            int rowCount = flightDAO.GetRowCountAllFlight();

            caculatePageCount(rowCount);
            LoadPageNumber();
        }
Пример #2
0
 public void updateDatagridFlight()
 {
     dataGridFlight.DataSource = null;
     dataGridFlight.DataSource = flightDAO.GetAllFlight();
     flights = flightDAO.GetAllFlight();
 }