Overload List

  NameDescription
ExecuteNonQuery(CommandType, String)
Executes the SQL query in the sql parameter against the database. Use this method when the sql query does not return a result set (e.g., INSERT, UPDATE, or some stored procs). Otherwise, use ExecuteQuery(CommandType, String) if a result set is desired.
ExecuteNonQuery(CommandType, String, array<SqlParameter>[]()[])
Executes the SQL query in the sql parameter against the database. Use this method when the sql query does not return a result set (e.g., INSERT, UPDATE, or some stored procs). Otherwise, use ExecuteQuery(CommandType, String) if a result set is desired.

See Also