Datagrid

  • Thread starter Thread starter Yair Cohen
  • Start date Start date
Y

Yair Cohen

Hello
How can i change column titles in datagrid ?
i load it from a datatable or dataset and want the column titles to be in
Hebrew, that it different from the column names.

thanks.
 
Hello,

Create a DataGridTableStyle for the datatable and populate its
GridColumnStyles collection with DataGridColumnStyle-derived instances
(DataGridTextBoxColumn or DataGridBoolColumn).
Specify the HeaderText property for each of these instances.
 

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