ActiveReports 8
DataSetName Property
See Also 
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > DataRegion Class : DataSetName Property

Glossary Item Box

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

Syntax

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.

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.

Requirements

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

See Also