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

ExcelDataSourceUIHelper.UpdateSchema(ExcelDataSource, IWin32Window, UserLookAndFeel, IExcelSchemaProvider) Method

OBSOLETE

This overload is obsolete. Use UpdateSchema instead.

Updates the data source schema available on the client in accordance with the current data source structure.

Namespace: DevExpress.DataAccess.UI.Excel

Assembly: DevExpress.DataAccess.v24.2.UI.dll

NuGet Package: DevExpress.DataAccess.UI

#Declaration

[Obsolete("This overload is obsolete. Use UpdateSchema(this ExcelDataSource dataSource, UpdateSchemaContext context) instead.")]
public static bool UpdateSchema(
    this ExcelDataSource dataSource,
    IWin32Window owner,
    UserLookAndFeel lookAndFeel,
    IExcelSchemaProvider schemaProvider
)

#Parameters

Name Type Description
dataSource ExcelDataSource

An ExcelDataSource object.

owner IWin32Window

An object implementing the IWin32Window interface that is the owner of the current dialog window.

lookAndFeel UserLookAndFeel

A UserLookAndFeel object, specifying the application’s look and feel settings.

schemaProvider IExcelSchemaProvider

An object implementing the IExcelSchemaProvider interface.

#Returns

Type Description
Boolean

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

#Remarks

The following image illustrates the commands available in the ExcelDataSource smart tag. The UpdateSchema method corresponds to the Rebuild Result Schema command.

ExcelDataSource_SmartTag

See Also