Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULRowUpdatedEventArgs 类

 

RecordsAffected 属性

返回通过执行 SQL 语句所更改、插入或删除的行数。对于 SELECT 语句,此值为 -1。

语法
Visual Basic
Public Readonly Property RecordsAffected As Integer
C#
public int RecordsAffected { get;}
属性值

更改、插入或删除的行数;如果没有任何行受到影响或语句失败,则值为 0;如果是 SELECT 语句,则值为 -1。

另请参见