ListView.IDataBoundControl.DataMember Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the name of the list of data that the data-bound control binds to when the data source contains more than one distinct list of data items.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

private abstract DataMember : string with get, set
private override DataMember : string with get, set

Property Value

Type: System.String

The name of the list of data that a data-bound control binds to.

This member is an explicit interface member implementation. It can be used only when the ListView instance is cast to an IDataBoundControl interface.

.NET Framework
Available since 4.0
Return to top
Show: