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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGroupingControl: Exception when binding datasource.

Thread ID:





13835 May 12,2004 01:59 AM UTC May 12,2004 05:19 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On May 12, 2004 01:59 AM UTC

Hello, I got an exception when binding datasource at runtime. Actually, my table DF_CleansingSelection has column "CleansingParameter_ID" :( System.ArgumentException: Column ''CleansingParameter_ID'' does not belong to table DF_CleansingSelection. at System.Data.DataRow.CheckColumn(DataColumn column) at System.Data.DataRowView.GetColumnValue(DataColumn column) at System.Data.DataColumnPropertyDescriptor.GetValue(Object component) at Syncfusion.Grouping.Record.UpdateSortInfo(Boolean isSorted, SortColumnDescriptor[] arrayOfColumnDescriptors, PropertyDescriptor[] arrayOfPropertyDescriptor) at Syncfusion.Grouping.Table.InitUnsortedRecords() at Syncfusion.Grouping.Table.CategorizeElements() at Syncfusion.Grouping.Table.CategorizeElements() at Syncfusion.Grouping.Table.OnEnsureInitialized(Object sender) at Syncfusion.Grouping.Element.EnsureInitialized(Object sender, Boolean notifyParent) at Syncfusion.Grouping.Table.EnsureInitialized(Object sender, Boolean notifyParent) at Syncfusion.Grouping.Table.get_TopLevelGroup() at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.InternalGetFrozenRows() at Syncfusion.Windows.Forms.Grid.GridControlBase.Initialize() at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.Initialize() at Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl.f_Load(Object sender, EventArgs e)

Administrator [Syncfusion]
Replied On May 12, 2004 05:19 AM UTC

To bind at runtime, normally it is suffiecient to set the gridGroupingControl1.DataSource (amd maybe DataMember). The call stack suggests you are an Initialize() call when this error occurs. Have you tried removing this call? Also, the error suggest it cannot find this column, CleansingParameter_ID. You might check the ColumnName for that column to make sure it is exactly CleansingParameter_ID as it is case sensitive. What version are you using? You might try the update if you are not using it.


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

Live Chat Icon For mobile
Live Chat Icon