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.getTripStudyType(); TripList.DataSource = tripList; TripList.DataBind(); } }