Gets or sets the name of the dataset that the data region uses.
Visual Basic (Declaration) | |
---|---|
Public Property DataSetName As System.String |
C# | |
---|---|
public System.string DataSetName {get; set;} |
Property Value
A String containing the name of the dataset that the data region uses to lay out its content.
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2