I want to convert a string which contains 5 zeros ("00000") into a Int so it can be incremented. Whenever I convert the string to an integer using Convert.ToInt32(), the value becomes 0. How can I ensure that the integer stays at a fixed length once converted?
I want to be able to increment the value from "00000" to "00001" and so on so that the value appears with that many digits in a database instead of 0 or 1.
If you are going to down vote question, the least you could do is leave feedback on why you did it...