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

Bound or unbound datagrid?

Thread ID:

Created:

Updated:

Platform:

Replies:

13776 May 10,2004 04:59 PM UTC May 10,2004 05:29 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 10, 2004 04:59 PM UTC

I do not know which grid to use: bound or unbound. The requirements are: 1. The number of columns shown is determined as 4 + n, where n is set up at run time. 2. The columns from 0 to 3 can be filled from dataset. 3. The columns from 4 to n should be filled one by one from datareader.. It is kind of cross tab I think, I need to use the unbound datagrid. But I even cannot start, because I cannot figure out from help how to assign the names for the columns. All samples for unbound datagrid have columns’ names like ‘A’, ‘B’ etc. Could somebody help me?

Administrator [Syncfusion]
Replied On May 10, 2004 05:29 PM UTC

The column header row in a GridControl is row 0. So, you can set the text in the header cells with code like: this.gridControl1[0,2].Text = "Header";

CONFIRMATION

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.

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

;