On click on gridview row, i have to pass gridview row primary key in queryString which redirect to appropiate user home page.
i have only one home page. proper content of home page loaded on the basis of session value which holds primary key as userName.
so in short i need to pass primary key as a querystring from search page to homepage.
Session["userName"] = Session["userName"].ToString();