Displaying 2 digit numbers in vb.net?

Joined
Oct 30, 2007
Messages
1
Reaction score
0
I am currently trying to get a grideview in vb.net to display numbers a certain way. right now when it grabs a 2 digit number from the database, and the number has a leading 0 it takes it out.

For Example:
in the db: 01
grideview displays: 1

i cannot figure out how to get the grideview to diaplay number so that instead of just showing 1 it shows 01. can someone please help. here is a link to the site where i am trying to get it to show 01
http://www.kcsaa.net/School_Roster.aspx?id=51&type=b
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top