ComponentOne FlexReport for WinForms
RecordSource Property

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > DataSource Class : RecordSource Property
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

Reference

DataSource Class
DataSource Members