DataAccessBase.ExecuteNonQuery

Executes a command that doesn't return any data. The result returns the number of records affected or -1 on error.

public virtual int ExecuteNonQuery(string sql,
	Object[] parameters)

Parameters

sql
SQL statement as a string

parameters
DbParameters (CreateParameter()) for named parameters or use @0,@1 parms in SQL and plain values

Overloads:


See also:

Class DataAccessBase

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic