Skip to main content
A newer version of this page is available.

SnapDocument.BeginUpdateDataSource() Method

Updates the DataSourceInfo collection.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v19.1.Core.dll

Declaration

void BeginUpdateDataSource()

Remarks

Use the BeginUpdateDataSource and SnapDocument.EndUpdateDataSource methods to update the DataSourceInfo collection.

Because modifications of all the report’s datasources are performed at once, the BeginUpdateDataSource and SnapDocument.EndUpdateDataSource methods should be called only once, enclosing these modifications.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BeginUpdateDataSource() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also