Posted on: 12/31/2014 1:28:37 AM | Views : 543

Hi 
i have create a query string for my search textbox and i have pass this QS by imagebuttonlink to get the input value of the search textbox and passed to another page, but in the 2nd page i didnt know how i can pass the querystring to bind the listview depending on querystring value
here is the search button behind code:
protected void SearchBtn_Click(object sender, ImageClickEventArgs e) { HttpCookie cookie = Request.Cookies.Get("Location"); string Location = string.Empty; string keyword = string.Empty; SqlConnection cn = new SqlConnection(sc); SqlCommand cmd = new SqlCommand(); Location = cookie.Value; if (cookie != null) { using (SqlConnection keywordsCon = new SqlConnection(sc)) keywordsCon.Open(); string sqlstatme ...

Go to the complete details ...