Hi,

I want to use a diferent number format. I want to keep the zeros in front of a number, for instance:

00,01,02,03,04,05,06,....09,10,11

I know I could use a conditional if, if number less than 10, then "0" + number.

Is there another way of doing this?

Using sth like, I´ve tried many things but no luck.

Dim sno As String
Dim num As Integer
num = 1
txtsno.Text = num.ToString("##")