How do I change the names of the headers in a datagrid...in ASP.NET you could do it in the property builder, but that function does exist in VB.NET
Printable View
How do I change the names of the headers in a datagrid...in ASP.NET you could do it in the property builder, but that function does exist in VB.NET
use TableStyles
is there a property in there to change the header text?
maybe this would help
http://www.syncfusion.com/FAQ/WinForms/default.asp#44
regards
Code:ts = New DataGridTableStyle()
ts.MappingName = "PRQ"
c = New DataGridTextBoxColumn()
c.MappingName = "ZIP"
c.Width = 50
c.HeaderText = "ZIP"
c.Format = "G4"
ts.GridColumnStyles.Add(c)
'do the same for every column
DataGrid1.TableStyles.Add(ts)