Gets or sets the specified list in an DataSource to which the report will bind.
Visual Basic (Declaration) | |
---|---|
Public Property DataMember As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string DataMember {get; set;} |
C# | Copy Code |
---|---|
private void rptProducts_ReportStart(object sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub rptProducts_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart |
Default is an empty string.
If a data source, such as a dataset, contains multiple lists, you must set the DataMember to a list contained in the data source. The ActiveReports built-in data sources always contain a single data source, hence do not require that this property be set.