I create a grid using my VB code. I want to change the color of the text in only one of the headers (Problems) in my VB code as well.
Dim myTable As New DataTable()
Dim dc1 As New DataColumn("Year", Type.GetType("System.Int32"))
Dim dc8 As New DataColumn("Problems", Type.GetType("System.Int32"))
myTable.Columns.Add(dc1)
myTable.Columns.Add(dc2)
Dim myRow As DataRow
For i = 0 To r.Length - 1
myRow = myTable.NewRow
myRow(dc1) = r(i)
myRow(dc2) = s(i)
myTable.Rows.Add(myRow)
Any help would be great!
Thanks,
SMBrown
Dim myTable As New DataTable()
Dim dc1 As New DataColumn("Year", Type.GetType("System.Int32"))
Dim dc8 As New DataColumn("Problems", Type.GetType("System.Int32"))
myTable.Columns.Add(dc1)
myTable.Columns.Add(dc2)
Dim myRow As DataRow
For i = 0 To r.Length - 1
myRow = myTable.NewRow
myRow(dc1) = r(i)
myRow(dc2) = s(i)
myTable.Rows.Add(myRow)
Any help would be great!
Thanks,
SMBrown