The DataSource type exposes the following members.

Properties

  Name Description
Public property CommandTimeOut
Gets or sets the number of seconds to wait before the data connection times out (set to -1 to use the default value, usually 30s).
Public property ConnectionString
Gets or sets the string used to open a database.
Public property Filter
Gets or sets the expression used to filter which data rows are included in the report.
Public property MaxRecords
Gets or sets the maximum number of data rows to be included in the report (set to zero to include all rows).
Public property ParentReport
Gets the report that contains this DataSource.
Public property Recordset
Sets or gets the data source object that provides data to the report.
Public property RecordSource
Gets or sets a string that specifies which table, stored procedure, or Sql command to use for retrieving the report data.

See Also