Mono Class Library: System.Data.SqlClient.SqlCommand Overview | Members

System.Data.SqlClient.SqlCommand.ExecuteNonQuery Method

Executes a T-SQL statement or stored procedure against the connection and returns the number of rows that were affected.

public override int ExecuteNonQuery ()

Returns

The number of rows that were affected by the query.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0