protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack){ searchText = Request.QueryString["search"]; NewsDAO mNewsDAO = new NewsDAO (); mNewsDAO.searchNews (searchText, repSearchResult); } }