[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.DataRegion.DataSetName

DataSetName Property

DataSetName

Gets or sets the name of the dataset used by the data region.

Declaration
public string DataSetName { get; set; }
Property Value
Type Description
string

A string value indicating the dataset name used by the data region.

Remarks

If there are multiple datasets in the report, DataSetName is required for all DataRegions not contained within a parent data region.

If there is only one dataset in the report, this dataset is assumed if DataSetName is not specified.

If there are no datasets in the report, DataSetName cannot be set.

Examples
dataRegion.DataSetName = "SalesData";