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.

Caption for DataColumn

Thread ID:

Created:

Updated:

Platform:

Replies:

232 May 6,2002 01:13 PM May 6,2002 01:48 PM Windows Forms 1
loading
Tags: FAQ
Andrew
Asked On May 6, 2002 01:13 PM

Hi! Why DataGrid dosen't use captions for my columns- it uses ColumnNames anytimes:( Thank you.

Clay Burch [Syncfusion]
Replied On May 6, 2002 01:48 PM

I don't know why the Caption property on the DataTable.Columns are not working. But if you add a DataGridColumnStyle for each of your columns to a TableStyle used by your grid, you can set the header text in the DataGridColumnStyle.HeaderText property. This appears to work for me. Regards, Clay Burch

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.

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.

;