M
mbalam
the following code
int j = 1;
string one = j.ToString();
Debug.WriteLine (one.PadLeft(2,'_'));
writes
_1
I want  1 as in html "white space" 1
for populating a drop down list
How dow I pad a 1 with white space in C#?
int j = 1;
string one = j.ToString();
Debug.WriteLine (one.PadLeft(2,'_'));
writes
_1
I want  1 as in html "white space" 1
for populating a drop down list
How dow I pad a 1 with white space in C#?