StatementCompletedEventArgs.RecordCount Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Indicates the number of rows affected by the statement that caused the StatementCompleted event to occur.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public int RecordCount { get; }

Property Value

Type: System.Int32

The number of rows affected.

.NET Framework
Available since 2.0
Return to top