aspnetmvc-devexpress-dot-web-dot-mvc-dot-querybuildersavecallbackresult-12215917.md
Returns a string that specifies the resulting ‘SELECT’ statement.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v25.2.dll
NuGet Package : DevExpress.Web.Mvc5
public string SelectStatement { get; }
Public ReadOnly Property SelectStatement As String
| Type | Description |
|---|---|
| String |
A string that specifies the final ‘SELECT’ statement.
|
See the Saving Queries topic for more information.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectStatement property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
var result = QueryBuilderExtension.GetSaveCallbackResult("QueryBuilder");
Session["SelectCommand"] = result.SelectStatement;
return RedirectToAction("Index", "Home");
Dim result = QueryBuilderExtension.GetSaveCallbackResult("QueryBuilder")
Session("SelectCommand") = result.SelectStatement
Return RedirectToAction("Index", "Home")
See Also
QueryBuilderSaveCallbackResult Class