I have an application that shows one item at a time from a list that they chose from. I want to create a progress bar to show their status of percentage complete.
To do this I think I need 3 numbers:
1.) the number I want to end up with (ie. 100%)
2.) the number of items the user selected
3.) Since the survey I created presents a new item from the list object the user filled with their selection everytime the user clicks the btnNext
I need a number that will iterate everytime the hits btnNext
int RAC = Convert.ToInt32(ViewState["count"]) - 2;
//starts at 0 and goes up to however many selections the user made minus1 or 'countSelection - 1'
With those three numbers here is what I tried
Response.Write(100 / RAC);
but this starts at 100 and goes down to 0. How can I reverse this?