2010-07-21 19 views

Respuesta

0

Probar:

iCryptedByte.ToString("D3"); 
+0

Depende del tipo 'iCryptedByte'. si es 'int' - sí,' ToString (cadena) 'existe – abatishchev

+0

¿Por qué downvote? –

10
String.Format(format, iCryptedByte); // where format like {0:D2} 

Ver MSDN 1, 2, 3

0
Microsoft.VisualBasic.Strings.Format(iCryptedByte, "000"); 

Deberá agregar una referencia al ensamblado Microsoft.VisualBasic.

Cuestiones relacionadas