I have an integer variable .if its 1-9 it only displays as “1” or “9”, I’m looking to convert the variable to save as 3 digits, ie. “001”, or “009”, etc. any ideas?
I am using C#,ASP.Net
I have an integer variable .if its 1-9 it only displays as 1 or
Share
use
see MSDN references here and here.