Michael said:
Hello,
The DataGrid binds to a typed dataset,
how can I change the title text of DataGrid's column?
Thanks!
Or try using DataGridTableStyle
DataGridTableStyle ts = new TataGridTableStyle();
ts.MappingName = "Table" ;
....
DataGridColumnStyle colDate = new DataGridTextBoxColumn();
colDate.MappingName = "ShipDate" ;
colDate.HeaderText = " Date of shiping" ;
colDate.Width = 90 ;
ts.GridColumnStyles.Add( colDate ) ;
dtGrid.TableStyles.Add( ts ) ;