ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / DataRegion Class / DataSetName Property
Example

In This Topic
    DataSetName Property (DataRegion)
    In This Topic
    Gets or sets the name of the dataset used by the data region.
    Syntax
    'Declaration
     
    Public Property DataSetName As String
    public string DataSetName {get; set;}

    Property Value

    A System.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.

    Example
    dataRegion.DataSetName = "SalesData";
    See Also