The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
-simon
ADAdministrator Syncfusion Team February 22, 2004 08:47 AM UTC
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.