Make a class named global and define static variables in it to use them globally.
class Globals
{
internal static string str_variable;
}
EDIT
when you hit search
Globals.str_variable = Textbox1.Text;
and when you want to retrieve
string temp = Globals.str_variable;