ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report 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 System.String
    public System.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