Visual Basic (Declaration) | |
---|---|
Public Property DataSource As Object |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public object DataSource {get; set;} |
Return Value
An object that functions as a data source.C# | Copy Code |
---|---|
private void rptProducts_ReportStart(object sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub rptProducts_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart |
The data source can be set to any of the ActiveReports built-in data sources or to any of the following:
- DataSet
- DataTable
- DataView
- RowCollection
You cannot change the data source property settings after the report starts processing.