Back to Devexpress

SpreadsheetDataSourceWizardOptions.EnableCustomSql Property

windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetdatasourcewizardoptions-1c073eb1.md

latest1.9 KB
Original Source

SpreadsheetDataSourceWizardOptions.EnableCustomSql Property

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

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to 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

SpreadsheetDataSourceWizardOptions Class

SpreadsheetDataSourceWizardOptions Members

DevExpress.XtraSpreadsheet Namespace