ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Query Class / CommandText Property
Example

In This Topic
    CommandText Property (Query)
    In This Topic
    Gets or sets a query to execute for obtaining data for the report.
    Syntax
    'Declaration
     
    Public Property CommandText As ExpressionInfo
    public ExpressionInfo CommandText {get; set;}

    Property Value

    An GrapeCity.Enterprise.Data.Expressions.ExpressionInfo object containing the query text.
    Example
    Query query = new Query();
    query.CommandText = "SELECT * FROM Users";
    See Also