ObjectDataSourceValidationService.Validate(IEnumerable<ObjectDataSource>) Method
In This Article
Provides default validation of the specified ObjectDataSource data objects before data retrieval.
Namespace: DevExpress.XtraSpreadsheet.Services
Assembly: DevExpress.XtraSpreadsheet.v24.2.dll
NuGet Package: DevExpress.Win.Spreadsheet
#Declaration
public void Validate(
IEnumerable<ObjectDataSource> dataSources
)
#Parameters
Name | Type | Description |
---|---|---|
data |
IEnumerable<Object |
A IEnumerable |
#Remarks
When the user denies the data source loading, the ObjectDataSource.DataSource and ObjectDataSource.DataMember properties are set to null.
See Also