> hi:
> need to convert a simple int to a format nnnn. if I have int 1 I want the
[quoted text clipped - 6 lines]
> so far these dont work
> field.ToString("nnnn") or field.ToString("####")
"0000" works fine.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
raulavi - 11 Mar 2008 15:42 GMT
Thanks this works.
> > hi:
> > need to convert a simple int to a format nnnn. if I have int 1 I want the
[quoted text clipped - 8 lines]
>
> "0000" works fine.