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

load only a specified column from a multiple column DataSet table into a GDBG.

Thread ID:





52900 Dec 5,2006 09:15 PM UTC Dec 6,2006 04:34 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On December 5, 2006 09:15 PM UTC

Please help.
I want to load only a specified column from a multiple column DataSet table into a GDBG. How do I do this?

Administrator [Syncfusion]
Replied On December 6, 2006 04:34 AM UTC


Use the GridBoundColumns property to manage the display columns in a GridDataBoundGrid. Here is a code snippet.

//Clear the All columns bound to grid...

//Add the new column to display in a grid.
GridBoundColumn EmpName = new GridBoundColumn();
EmpName.MappingName = "ColumnName";

this.gridDataBoundGrid1.DataSource = ds.Tables[0];

Here is a sample.

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