An NDoc Documented Class Library |

# NpgsqlCommand.ExecuteNonQuery Method

Executes a SQL statement against the connection and returns the number of rows affected.

[Visual Basic]
NotOverridable Public Function ExecuteNonQuery() As Integer _
Implements IDbCommand.ExecuteNonQuery
[C#]
public int ExecuteNonQuery();

#### Return Value

The number of rows affected.

#### Implements

IDbCommand.ExecuteNonQuery

#### Remarks

Missing <remarks> documentation for M:Npgsql.NpgsqlCommand.ExecuteNonQuery

#### See Also

NpgsqlCommand Class | Npgsql Namespace