Share via


ReportDataSource.DataMember Property

Specifies the name of the list of data for binding.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<NotifyParentPropertyAttribute(True)> _
<CategoryAttribute("Misc")> _
<WebBrowsableAttribute(True)> _
Public Property DataMember As String
'Usage
Dim instance As ReportDataSource
Dim value As String

value = instance.DataMember

instance.DataMember = value
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute("Misc")] 
[WebBrowsableAttribute(true)] 
public string DataMember { get; set; }
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute(L"Misc")] 
[WebBrowsableAttribute(true)] 
public:
property String^ DataMember {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_DataMember ()

/** @property */
public void set_DataMember (String value)
public function get DataMember () : String

public function set DataMember (value : String)

Property Value

A String value.

Remarks

This property is used in cases where the data source contains more than one distinct list of data items.

See Also

Reference

ReportDataSource Class
ReportDataSource Members
Microsoft.Reporting.WebForms Namespace