Dim IntNum As Integer
IintNum = 3
Console.WriteLine(String.Format("{0:000000}", fish))
*Jose C Gomez*
*Software Engineer*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
*Quis custodiet ipsos custodes?*
IintNum = 3
Console.WriteLine(String.Format("{0:000000}", fish))
*Jose C Gomez*
*Software Engineer*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
*Quis custodiet ipsos custodes?*
On Thu, Apr 21, 2011 at 2:49 PM, Mark Wonsil <mark_wonsil@...> wrote:
>
>
> Michael wrote:
>
> > Dim Num As Integer =
> companyAdapter.CompanyData.Company.Rows(0)("Number02")
> > Dim format as string = "000000"
> > Dim numFormat As String = Num.ToString(format)
>
> That should work and is probably better in the .Net world. The
> zero-string-append hack was something that I had to use with VBA when
> doing Excel or Access coding.
>
> Mark W.
>
>
>
[Non-text portions of this message have been removed]