I think you have sent query string with the page reference so you should send some basic key(s) as a search keayword and you have to catch that keys in Page_Load() event of other page on that you have redirected...
In the page.....
FindDocument.aspx
protected void Page_Load(object sender, EventArgs e)
{
if(Request["str"] != null)
{
string key = Convert.ToString(Request["str"]);
string query = @"Select * from tableName WEHRE keyfield=@keyfield";
SqlCommand cmd = new SqlCommand(query,con);
cmd.Parameter.Add("@keyfield",key);
SqlDataReader dr = cmd.ExecuteReader();
}
}
I hope this may help you.....
Thanks..