Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IWizardCustomizationService.TryCreateDataSource(IDataSourceModel, out Object, out String) Method

Creates a new report data source with the specified settings.

Namespace: DevExpress.XtraReports.Wizards

Assembly: DevExpress.XtraReports.v24.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

#Declaration

bool TryCreateDataSource(
    IDataSourceModel model,
    out object dataSource,
    out string dataMember
)

#Parameters

Name Type Description
model IDataSourceModel

An object implementing the IDataSourceModel interface.

dataSource Object

A Object value, specifying the data source.

dataMember String

A String value, specifying the data member.

#Returns

Type Description
Boolean

true, if the data source has been created; otherwise, false.

See Also