I have an asp.net page/ form with two button.
the first button is enabled and it is used to calculated some fields based on other fields inputs.
after the calculation is completed, then the second button becomes enabled, and allows the user to submit the user entered values, and the calculated values into a database table.
my problem is that when i click the second button, the variables and their values are lost, because i instantiate them at the very beginning of the page.
how can i do so that the values are not lost when the second button is clicked and the field values are already there?
I can post my code if my question is not clear