DeleteColumns Method
Deletes the specified number of columns.
Syntax
[VB.NET] Public Sub DeleteColumns(ByVal ColumnIndex As Integer, ByVal ColumnCount As Integer)
[C#] public void DeleteColumns(int columnIndex, int columnCount);
Remarks
This method deletes ColumnCount columns beginning at the specified ColumnIndex. Existing columns will be shifted left as necessary. If Column is 0 no columns will be deleted.