D
Danny
Hi,
I have a very simple asp.net application with a webform and an integer data
member. I've placed a button on this form which increments the integer data
member by 1 each time it is clicked and displays it with Response.Write.
The data member's value is not saved in each button click, and the value
always stays the same.
I have viewstate enabled for the page.
How can I change this behavour ?
Thanks,
Danny
I have a very simple asp.net application with a webform and an integer data
member. I've placed a button on this form which increments the integer data
member by 1 each time it is clicked and displays it with Response.Write.
The data member's value is not saved in each button click, and the value
always stays the same.
I have viewstate enabled for the page.
How can I change this behavour ?
Thanks,
Danny