API

ExecuteNonQuery

Executes a non-row-returning command; affected row count semantics depend on provider and statement.

Formal Syntax & Structure

csharp syntaxcsharp
command.ExecuteNonQuery()

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.command.ExecuteNonQuery()
C# & .NET Reference