ActiveReports 11
DataSetName Property (DataRegion)

GrapeCity.ActiveReports.v11 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > DataRegion Class : DataSetName Property

Gets or sets the name of the dataset that the data region uses.

Syntax
'Declaration
 
Public Property DataSetName As String
public string DataSetName {get; set;}

Property Value

A String containing the name of the dataset that the data region uses to lay out its content.

Remarks

If there are multiple datasets in the report, the DataSetName is required for all DataRegions not contained inside a parent data region. If there is only one dataset in the report, this dataset will be assumed if the DataSetName is not specified. If there are no datasets in the report, the DataSetName cannot be set.

This property is ignored in child data regions.

See Also

Reference

DataRegion Class
DataRegion Members