We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Case sensisitve column bindings

Thread ID:

Created:

Updated:

Platform:

Replies:

11045 Feb 22,2004 04:08 AM UTC Feb 22,2004 08:47 AM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 22, 2004 04:08 AM UTC

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

Administrator [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;