DataSource
Provides the abstract base class for all data source components in Telerik Reporting that supply data to report items.
This class serves as the foundation for specialized data source implementations like SqlDataSource, ObjectDataSource, CsvDataSource, and others. Derived classes must implement specific data retrieval logic while inheriting common functionality for naming, calculated fields, and component lifecycle management. All data source components support calculated fields for custom data transformations and provide standardized interfaces for data binding operations.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
public abstract class DataSource : Component, IDataSource
Inheritance: objectMarshalByRefObjectComponentDataSource
Derived Classes:
Implements:
Constructors
Initializes a new instance of DataSource.
protected DataSource()
Properties
Gets the calculated fields collection.
public CalculatedFieldCollection CalculatedFields { get; }
Description
string
Gets or sets the description of the DataSource component.
public string Description { get; set; }
The description of the DataSource component.
Name
string
Gets or sets the name of the DataSource component.
[Browsable(false)]
public string Name { get; set; }
The name of the DataSource component.