Here's an article which explains how to pad numeric values with zeroes.
http://msdn.microsoft.com/en-us/library/dd260048.aspx[
^]
As you are using a data grid view, you need to set the default cell style:
DataGridViewName.Columns("ColumnName").DefaultCellStyle.Format = "D6"
That would pad the integer with zeroes to six digits. I'm assuming that you want to align the values.
If this isn't what you are looking for, let us know.