Try this,
In your page1.aspx,
<body>
<form id="form1" runat="server">
<asp:TextBox ID="txt" runat="server"></asp:TextBox>
<asp:Button ID="btn" runat="server" Text="Search" OnClick="btn_Click"/>
</form>
</body>
In page1.aspx.cs,
protected void btn_Click(object sender, EventArgs e)
{
Response.Redirect("Page2.aspx?a="+txt.Text);
}
Then in page2.asp.cs,
Using Request.QueryString["a"], you will get the passed value and find the result using that value.
-----------
@Nidhish