jeva39
Well-known member
In VB.NET 2003 this sintax is valid:
The problem is that TABLESTYLES don't work in 2005. Please, what is the correct Syntax?
Thanks...
VB.NET:
Private sub columnsFormat()
Dim TSPrograms As New DataGridTableStyle
TSPrograms.MappingName = "Programs"
TSPrograms.AllowSorting = True
Dim oID As New DataGridTextBoxColumn
oID.MappingName = "ID"
oID.HeaderText = "ID"
oID.Width = 70
TSProgramas.GridColumnStyles.Add(oID)
......others columns....
myGrid.TableStyles.Add(TSPrograms)
End Sub
The problem is that TABLESTYLES don't work in 2005. Please, what is the correct Syntax?
Thanks...