ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.QueryDesigner Assembly / GrapeCity.ActiveReports.QueryDesigner.Implementation Namespace / IQueryDesignerHost Interface / ExecuteQuery Method
The query to the data source.
The query parameters.
The row count to return.

In This Topic
    ExecuteQuery Method
    In This Topic
    Exeсutes specified query with specified parameters.
    Syntax
    'Declaration
     
    Function ExecuteQuery( _
       ByVal query As String, _
       ByVal parameters() As IDataParameter, _
       ByVal previewLimit As Integer _
    ) As DataTable
    DataTable ExecuteQuery( 
       string query,
       IDataParameter[] parameters,
       int previewLimit
    )

    Parameters

    query
    The query to the data source.
    parameters
    The query parameters.
    previewLimit
    The row count to return.

    Return Value

    The query execution result.
    See Also