RowCount
- Last UpdatedNov 25, 2015
- 1 minute read
Use this read-only property to obtain the number of records in the memory dataset that was retrieved by a SQL command. When it is used with a SQL action command such as INSERT, DELETE, or UPDATE, the property returns the number of records affected.
This property returns a value of zero in the following cases:
-
The SQL command has not been queued.
-
The SQL command has been queued but is not completed.
-
The SQL command has completed with an error.
Syntax
int RowCount;