Skip to main content
A newer version of this page is available. .

DataNavigator.DataMember Property

Gets or sets the data source member whose data is manipulated by the DataNavigator control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DXCategory("Data")]
[DefaultValue("")]
public string DataMember { get; set; }

Property Value

Type Default Description
String String.Empty

A string value representing the data source member.

Remarks

This property is used when the DataNavigator.DataSource property refers to a dataset containing several data tables. The DataMember property should specify the desired table’s name in this case.

If the DataNavigator.DataSource property refers to a data table, data view or any custom created data source object, the DataMember property should not be used.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataMember property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also