Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
删除行的步骤比插入或更新行的步骤更简单。没有与插入或更新模式对应的删除模式。
通过将游标移动到要删除的行,然后执行 Table.Delete 方法来删除行。
以下代码说明如何删除表中的第一行:
t.MoveFirst(); t.Delete();