FlexReport for WinForms
RecordSource プロパティ (DataSource)


C1.Report アセンブリ > C1.Report 名前空間 > DataSource クラス : RecordSource プロパティ
Gets or sets a string that specifies which table, stored procedure, or Sql command to use for retrieving the report data.
シンタックス
'宣言
 
Public Property RecordSource As System.String
'使用法
 
Dim instance As DataSource
Dim value As System.String
 
instance.RecordSource = value
 
value = instance.RecordSource
public System.string RecordSource {get; set;}
解説

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. 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.

参照

参照

DataSource クラス
DataSource メンバ