Hi All, Ive got this function that changes the width of the columns on a datagrid however i would like to change the value of col 2 (the datagrid only has two columns)

The values of what i wana change are

Null = None
1 = Type A
2 = Type B

Can any one help ? The function is below....

VB Code:
  1. Private Sub AddCustomDataTableStyles(ByVal dstData As DataSet, ByVal dgName As DataGrid)
  2.  
  3.         'Clear the table styles for the datagrid
  4.         dgName.TableStyles.Clear()
  5.  
  6.         'Declare local variables
  7.         Dim tsTableStyle As New DataGridTableStyle
  8.         Dim tcTextCol As DataGridTextBoxColumn
  9.         Dim intCounter As Integer
  10.  
  11.         'Map the table style to the table in the dataset
  12.         tsTableStyle.MappingName = dstData.Tables(0).TableName()
  13.  
  14.         'Add textbox column style for each column in the dataset
  15.         For intCounter = 0 To dstData.Tables(0).Columns.Count() - 1
  16.  
  17.             'Reinstantiate the text box column and set mappings and attributes
  18.             tcTextCol = New DataGridTextBoxColumn
  19.             tcTextCol.MappingName = dstData.Tables(0).Columns.Item(intCounter).ColumnName
  20.             tcTextCol.HeaderText = dstData.Tables(0).Columns.Item(intCounter).ColumnName
  21.  
  22.             Select Case tcTextCol.MappingName()
  23.                 Case "Address"
  24.                     tcTextCol.Width() = 173
  25.                 Case "CaseType"
  26.                     tcTextCol.Width() = 75
  27.                 Case Else
  28.                     tcTextCol.Width() = 50
  29.             End Select
  30.             'Add the column to the table style
  31.             tsTableStyle.GridColumnStyles.Add(tcTextCol)
  32.         Next
  33.         'Add the table styles to the datagrid
  34.         dgName.TableStyles.Add(tsTableStyle)
  35.     End Sub