

'宣言 Public Class DataSource Inherits StrongNamedReportObject Implements C1.Document.Serialization.IC1Serializable
'使用法 Dim instance As DataSource
public class DataSource : StrongNamedReportObject, C1.Document.Serialization.IC1Serializable
Most reports specify their data sources by setting the ConnectionString and RecordSource properties. The DataSource object uses these values to connect to a database and retrieve the report data.
Alternatively, you can assign data objects directly to the Recordset property. This approach is more efficient in scenarios where the data has already been loaded by the application for other purposes, and can be used in the report directly instead of loading a copy.
System.Object
C1.Report.ReportObject
C1.Report.StrongNamedReportObject
C1.Report.DataSource