DeleteRows Method
Deletes the specified number of rows.
Syntax
[VB.NET] Public Sub DeleteRows(ByVal RowIndex As Integer, ByVal RowCount As Integer)
[C#] public void DeleteRows(int rowIndex, int rowCount);
Remarks
This method deletes RowCount rows beginning at the specified RowIndex. Existing rows will be shifted up as necessary. If RowCount is 0 no rows will be deleted.