[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.QueryDesigner.Implementation.IQueryDesignerHost.ValidateQuery

ValidateQuery Method

ValidateQuery(string, IDataParameter[])

Validates the specified query with the given parameters.

Declaration
string ValidateQuery(string query, IDataParameter[] parameters)
Parameters
Type Name Description
string query

The SQL query to validate.

IDataParameter[] parameters

An array of IDataParameter objects representing the query parameters.

Returns
Type Description
string

A string containing the validation message. An empty string indicates that the query is valid.