'宣言 Public Property RecordSource As System.String
public System.string RecordSource {get; set;}
'宣言 Public Property RecordSource As System.String
public System.string RecordSource {get; set;}
ConnectionString は、レポートデータを含むデータベースを指定します。RecordSource プロパティは、データ取得に使用するテーブル、ストアドプロシージャ、または SQL コマンドを指定します。
別のタイプの接続(System.Data.SqlClient.SqlConnection など)を使用する場合、または System.Data.DataTable オブジェクトとしてアプリケーションにすでにデータがある場合は、そのデータを直接 Recordset プロパティに割り当てることができます。