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

column name case sensitive ?

Thread ID:





125039 Jul 16,2016 03:18 AM UTC Jul 20,2016 10:13 AM UTC WinForms 3
Tags: GridGroupingControl
Asked On July 16, 2016 03:18 AM UTC

Hi, my code:

BindingSource.DataSource = Data;
BindingSource.DataMember = "Table";
grd.DataSource = BindingSource;
grd.TableDescriptor.Columns["customer"].HeaderText = "CUS.";

When load, it getting error "Object reference not set to an instance of an object."

I found that in "Table", column name is "Customer", not "customer", so how I  use case insensitive ?


Anish George [Syncfusion]
Replied On July 18, 2016 11:36 AM UTC

Hi Hieudt, 

Thank you for using Syncfusion products. 

In GridGroupingControl, there is no property setting that you can use to make the column MappingNames to be case insensitive. The .Net Framework is not consistent when it comes to mapping name and case requirement. Hence we request you to use the same column names while customizing the columns. 


Replied On July 19, 2016 09:11 AM UTC


Anish George [Syncfusion]
Replied On July 20, 2016 10:13 AM UTC

Hi Hieudt,  
Thank you for your update. 
Please let us know if you need any further assistance. 


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

This page will automatically be redirected to the 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