Header name in datagrid

  • Thread starter Thread starter Will
  • Start date Start date
W

Will

Hi all,

I need to know how to manually set the header name of a
column in a datagrid.

Everytime i retieve records from a database, the coloum
header of the datagrid defaults to the column header of
the coloumn in the table in the database.

Thanx
 
Please indicate WHICH DataGrid you are talking: Win form DataGrid or Web
control DataGrid (both are supplied in .NET Framework)?

For Win form DataGrid, look into
DataGrid->TableStyles(GridTableStyle)->GridColumnStyles(DataGridColumnStyle)
For Web control DataGrild: dataGrid->Columns(BoundColumn)
 
Back
Top