C
Carlos
Hi all,
I just tried to use a static variable within the scope of the
page_load event handler, but apparently it did not work
all I wanted to do is to evaluate the postback condition
and initialize the variable, when the condition was not met assign
its value to a member class variable, and use it in the
button_click event handler. However, the variable does not
maintain its initial value. It gets wiped out before I am able
to assign it to a variable with the scope of the class.
Can anybody helo on this one?
Thanks,
Carlos.
I just tried to use a static variable within the scope of the
page_load event handler, but apparently it did not work
all I wanted to do is to evaluate the postback condition
and initialize the variable, when the condition was not met assign
its value to a member class variable, and use it in the
button_click event handler. However, the variable does not
maintain its initial value. It gets wiped out before I am able
to assign it to a variable with the scope of the class.
Can anybody helo on this one?
Thanks,
Carlos.