[]
Gets or sets the name of the dataset used by the data region.
public string DataSetName { get; set; }
Type | Description |
---|---|
string | A string value indicating the dataset name used by the data region. |
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.
dataRegion.DataSetName = "SalesData";