Back to Devexpress

DataNavigator.DataMember Property

windowsforms-devexpress-dot-xtraeditors-dot-datanavigator-22315525.md

latest1.8 KB
Original Source

DataNavigator.DataMember Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue("")]
[DXCategory("Data")]
public string DataMember { get; set; }
vb
<DXCategory("Data")>
<DefaultValue("")>
Public Property DataMember As String

Property Value

TypeDefaultDescription
StringString.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.

See Also

DataSource

DataNavigator Class

DataNavigator Members

DevExpress.XtraEditors Namespace