FlexReport for UWP | ComponentOne
C1.UWP.FlexReport Assembly / C1.Xaml.FlexReport Namespace / DataSource Class / RecordSource Property

In This Topic
    RecordSource Property
    In This Topic
    Gets or sets a string that specifies which table, stored procedure, or Sql command to use for retrieving the report data.
    Syntax
    'Declaration
     
    Public Property RecordSource As String
    public string RecordSource {get; set;}
    Remarks

    The ConnectionString specifies the database that contains the report data. The RecordSource property specifies which table, stored procedure, or Sql command to use for retrieving the data.

    If you want to use a different type of connection (e.g. a System.Data.SqlClient.SqlConnection, or if your application already has the data available in a System.Data.DataTable object, you can assign the data directly to the Recordset property.

    See Also