Udostępnij za pośrednictwem


How to: Display or Hide Relationship Names on the Dataset Designer

Relationships between DataTables appear as lines on the Dataset Designer with a key and infinity glyph depicting the one-to-many aspect of the relationship. By default the name of the relationship does not appear on the design surface.

To toggle the display of relation names in the Dataset Designer

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

  2. From the Data menu, select or clear the Show Relation Labels command to toggle displaying the relation name on or off.

See Also

Tasks

How to: Create DataRelations with the Dataset Designer

How to: Access Records in Related DataTables

Reference

DataRelation

GetChildRows

GetParentRows

Concepts

Introduction to DataRelation Objects

Working with Datasets in Visual Studio

Preparing Your Application to Receive Data