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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top