RemoveAt

ColumnCollection.RemoveAt 方法

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

public void RemoveAt(int firstColumnIndex, bool withAttachedRows)
参数类型描述
firstColumnIndexInt32要删除的列的索引。
withAttachedRowsBoolean为真时还删除所有附加列。

另请参阅