Hi group,
I have a problem with the datagridview component.
I use a BindingSource and BindingList<T> to databind my collection of
business objects to the DataGridView. The databinding uses the property
names of the business object to display the text of the column headers.
Im writing a globalized application and would like to display the
column headers from a resource file.
How can I do that?
Cheers and thanks in advance
Kim
ClayB - 03 Jan 2007 16:24 GMT
To explicitly set header text, try code such as:
string colMappingName = "Col1";
string colHeaderText = "HeaderTextFor Col1";
this.dataGridView1.Columns[colMappingName].HeaderText = colHeaderText;
Clay Burch
Syncfusion, Inc.