SpreadsheetDataSourceWizardOptions.EnableCustomSql Property

Gets or sets whether the direct SQL text editing is enabled.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v20.1.dll

Declaration

[DefaultValue(false)]
public bool EnableCustomSql { get; set; }
<DefaultValue(False)>
Public Property EnableCustomSql As Boolean

Property Value

Type Default Description
Boolean

false

True, to enable direct SQL text editing; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableCustomSql
SpreadsheetControl
.Options.DataSourceWizard.EnableCustomSql
SpreadsheetControlOptions
.DataSourceWizard.EnableCustomSql

Remarks

The EnableCustomSql option enables direct SQL text editing in Data Source Wizard. By default, end-users are allowed to use only visual tools to build queries.

See Also