Surprised not to find anyone else asking this question but here goes.
Why are column names case sensitive when bound to a datatable whose column names are NOT case sensitive?
Example: Change DataBoundSortByDisplayMember sample lines 298 + 299 to:
this.productNameColumn.MappingName = "ProductNAME"; this.productNameColumn.StyleInfo.CellValueType = typeof(string);
the product column will vanish when the program is ran. I have some XML mapping files that control the columns set, and i''d like those to be case insensitive. MS''s DataGrid does not have this ''problem''. Is there a way to set it to be non case sensitive?
ADAdministrator Syncfusion Team February 22, 2004 03:47 AM
In a GridDataBoundGrid, there is no property setting that you can use to make the column MappingNames to be case insensitive.
The .Net Framework is not cosistent when it comes to mapping name and case requirement. As you say, you do not have to have exact case with a DataGrid+DataTable. But you do when you use ComboBox+DataSource+DisplayMember+ValueMember.