Skip to main content

ExcelDataSourceUIHelper.UpdateSchema(ExcelDataSource, UpdateSchemaContext) Method

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

Declaration

public static bool UpdateSchema(
    this ExcelDataSource dataSource,
    UpdateSchemaContext context
)

Parameters

Name Type Description
dataSource ExcelDataSource

An ExcelDataSource object.

context UpdateSchemaContext

An UpdateSchemaContext object.

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