Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将游标向前移动一行。
public virtual bool Next()
如果游标向前移动成功,则返回 true。尽管返回 true,但当游标成功移动到下一行时也有可能发出错误信号。例如,在计算 SELECT 表达式时,可能发生转换错误。在这种情况下,检索列值时也会返回错误。如果向前移动失败,则返回 false。例如,可能没有下一行。在这种情况下,游标的最终位置为 AfterLast()。