V
Vivian
I have an aspx page with C# with several "post" button. Each button will do
sth, and return some data to the same page. The problem is I have a public
variable, say tmpA in C# in which data will set while the first button is
clicked. I need to get the value of tmpA when pressing other button, the
problem is how can I save the value of tmpA?
Do I need to add a hidden field on the form to do that?
Or is there any better approach? Thanks
sth, and return some data to the same page. The problem is I have a public
variable, say tmpA in C# in which data will set while the first button is
clicked. I need to get the value of tmpA when pressing other button, the
problem is how can I save the value of tmpA?
Do I need to add a hidden field on the form to do that?
Or is there any better approach? Thanks