Dotnet-Project Framework documentation.

GenericDataHelper.ExecuteNonQuery Method

Execute a Command (that returns no resultset and takes no parameters) against the database

Overload List

Execute a Command (that returns no resultset and takes no parameters) against the database

public static int ExecuteNonQuery(CommandType,string);

Execute a Command (that returns no resultset) against the database using the provided parameters

public static int ExecuteNonQuery(CommandType,string,params IDataParameter[]);

Execute a stored procedure via a Command (that returns no resultset and takes no parameters) against the database

public static int ExecuteNonQuery(string);

Execute a stored procedure via a Command (that returns no resultset) against the database using the provided parameters

public static int ExecuteNonQuery(string,params IDataParameter[]);

Execute a stored procedure via a Command (that returns no resultset) against the database using the provided parameter values. This method will query the database to discover the parameters for the stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.

public static int ExecuteNonQuery(string,params object[]);

See Also

GenericDataHelper Class | DotnetProject.Data Namespace