ExcelDataSourceUIHelper.UpdateSchema(ExcelDataSource, UpdateSchemaContext) Method
In This Article
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
public static bool UpdateSchema(
this ExcelDataSource dataSource,
UpdateSchemaContext context
)
#Parameters
Name | Type | Description |
---|---|---|
data |
Excel |
An Excel |
context | Update |
An Update |
#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.
See Also