RemoveAt

RowCollection.RemoveAt 方法

从表中删除指定位置的行。

public void RemoveAt(int firstRowIndex, bool withAttachedRows)
参数类型描述
firstRowIndexInt32要删除的行的索引。
withAttachedRowsBoolean如果为 true,则还删除所有附加行。

另见