Display array values on page one at a time

stewarts

Member
Joined
Apr 8, 2003
Messages
22
Hi,

I have an ASP .net page that contains a label and a NEXT button.

I want to display in the label, array values one at a time as the next button is pushed. This is the foundation that I will build further functionality on. This seems so simple, but I can
 
Last edited by a moderator:
The counter is part of your page class, every time the page is refreshed the class is created, used and destroyed - this means all instance variables are also lost.

You would need to also store the counter variable in the Session state to make it persist between refreshes.
 
Back
Top