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

ConfigureQueryPage.AllowCustomSql Property

Specifies whether custom SQL editing is enabled on a wizard page.

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

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

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

public virtual bool AllowCustomSql { get; protected set; }

#Property Value

Type Description
Boolean

true, if custom SQL editing is enabled; otherwise, false.

#Remarks

If custom SQL editing is enabled, the Query Builder contains the Allow Edit SQL check box, which also enables the capability to specify a custom SQL query manually.

Important

Custom SQL queries are not validated before their execution and may contain potentially harmful instructions. For this reason, we strongly recommend that you implement your own validation logic that permits only execution of specific query kinds. For more information, see Ensuring Data Access Security

See Also