Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl.Rdl2008 Namespace / DataRegion Class / DataSetName Property

In This Topic
    DataSetName Property (DataRegion)
    In This Topic
    Gets or sets the name of the DataSet to use for this DataRegion. Mandatory for top level data regions (not contained within another DataRegion) unless there is exactly one data set in the report. If there is exactly one data set in the report, the data region uses that data set.

    Note: If there are no data sets in the report, data regions can not be used, as there is no valid DataSetName to use.

    Ignored for data regions that are not top level.
    Syntax
    'Declaration
     
    Public Property DataSetName As String
    public string DataSetName {get; set;}
    See Also