I have the following code below that keeps knocking off the first 2 leading zeros (0). It looks like the Convert.ToInt32() is doing that. How can I retain the first 2 leading integer zeros (0) in my zipCode variable so that the result is 00210 instead of 210?
Thanks a lot.
int zipCode = 210;
strZipCode = "00" + zipCode.ToString();
zipCode = Convert.ToInt32(strZipCode);