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

Finding the System.Data.DataTable object bound to a GridTableDescriptor

Thread ID:





47794 Aug 11,2006 06:43 PM UTC Aug 14,2006 06:01 AM UTC WinForms 1
Tags: Grouping
Scott Mercer
Asked On August 11, 2006 06:43 PM UTC


If I have a GridTableDescriptor object, how can I find out the specific System.Data.DataTable reference that it is bound to?


Administrator [Syncfusion]
Replied On August 14, 2006 06:01 AM UTC

Hi Scott,

You can access the Related DataTable for TableDescriptor using GridTable.SourceList property. Please find the code snippet below

GridTableDescriptor gtd = this.gridGroupingControl1.GetTableDescriptor("TableName") as GridTableDescriptor;

GridTable gt = this.gridGroupingControl1.GetTable(gtd.Name);

DataView dv = gt.SourceList as DataView;
Console.WriteLine( "Table Name : " + dv.Table.TableName );

Let me know if this helps.
Best Regards,


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