Overload List

  NameDescription
Public methodExecuteQuery(CommandType, String)
Executes the SQL query in the sql parameter against the database. Use this method when the sql query returns a result set (e.g., SELECT or some stored procs). Otherwise, use ExecuteNonQuery(CommandType, String).
Public methodExecuteQuery(CommandType, String, array<SqlParameter>[]()[][])
Executes the SQL query in the sql parameter against the database. Use this method when the sql query returns a result set (e.g., SELECT or some stored procs). Otherwise, use ExecuteNonQuery(CommandType, String, array<SqlParameter>[]()[][]).

See Also