ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Model Namespace / DataSetExtensions Class / SetParentDataSet Method
A GrapeCity.ActiveReports.PageReportModel.IDataSet object to update.
A System.String value indicating the name of the parent dataset.
A System.String value indicating the field of the parent dataset which represents the data for the nested dataset.

In This Topic
    SetParentDataSet Method
    In This Topic
    Sets the parent dataset and field names for the nested dataset.
    Syntax
    'Declaration
     
    Public Shared Sub SetParentDataSet( _
       ByVal dataSet As IDataSet, _
       ByVal dataSetName As String, _
       ByVal fieldName As String _
    ) 
    public static void SetParentDataSet( 
       IDataSet dataSet,
       string dataSetName,
       string fieldName
    )

    Parameters

    dataSet
    A GrapeCity.ActiveReports.PageReportModel.IDataSet object to update.
    dataSetName
    A System.String value indicating the name of the parent dataset.
    fieldName
    A System.String value indicating the field of the parent dataset which represents the data for the nested dataset.
    Remarks
    This method should not be used directly in application code. It is designed for internal operations within the product libraries and may change or be removed in future versions without notice.
    See Also