Hi
First of all, my terminology may be wrong, so sorry!
I want to pass a variable between functions, such as
Any ideas?
Thanks
First of all, my terminology may be wrong, so sorry!
I want to pass a variable between functions, such as
Code:
protected void Page_Load(object sender, EventArgs e)
{
string strTest = "This is the text";
}
public String Import(object o)
{
// some how import strTest so I can use it!
// do something with the object o, may be compare Convert.ToString(o) to strTest!?
}
Thanks
Comment