'宣言 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;}
'宣言 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.