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. Image for the cookie policy date

column name case sensitive ?

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 ?


3 Replies

AG Anish George Syncfusion Team 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. 


HI hieudt July 19, 2016 09:11 AM UTC


AG Anish George Syncfusion Team July 20, 2016 10:13 AM UTC

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

Live Chat Icon For mobile
Up arrow icon