G
Guest
I have the following VB.Net code which displays a 2-digit value from the
database. How do I format this column display in a 5-digit format (00012)?
oTextCol = New DataGridTextBoxColumn
oGridStyle.MappingName = "MyMapping"
oTextCol.MappingName = "MyData"
oTextCol.HeaderText = "My Data"
oTextCol.Width = 120
oGridStyle.GridColumnStyles.Add(oTextCol)
database. How do I format this column display in a 5-digit format (00012)?
oTextCol = New DataGridTextBoxColumn
oGridStyle.MappingName = "MyMapping"
oTextCol.MappingName = "MyData"
oTextCol.HeaderText = "My Data"
oTextCol.Width = 120
oGridStyle.GridColumnStyles.Add(oTextCol)