Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

How to: Change the Caption of a DataColumn 

Data columns often have names that are not suited for displaying in a user interface. You can change the caption to a more suitable name by setting the Caption property in the Properties window.

NoteNote

A special consideration comes into play when you drag items from the Data Sources window onto a form in a Windows application: the column names in the caption labels are reformatted into a more readable string when two or more words are found to be concatenated together. For more information, see How to: Customize How Visual Studio Creates Captions for Data-bound Controls.

To edit the caption of a data column

  1. Open your dataset in the Dataset Designer. For more information, see How to: Open a Dataset in the Dataset Designer.

  2. Select the column whose caption you want to edit.

  3. In the Properties window, set the Caption property.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.