Reports for WinForms | ComponentOne
C1.C1Report.CustomFields.4 Assembly / C1.C1Report.CustomFields.Maps Namespace / LayerBase Class / RecordSource Property

In This Topic
    RecordSource Property (LayerBase)
    In This Topic
    Gets or sets an SQL statement used to retrieve data for the layer.
    Syntax
    'Declaration
     
    Public Property RecordSource As String
    public string RecordSource {get; set;}
    Remarks
    If provided, data is retrieved using the parent report's ConnectionString. If omitted, data is retrieved directly from the parent report. In this latter case, the data is automatically filtered according to the current grouping scope (e.g. a layer in a 'Category' group header would contain data only for the current category).
    See Also