Inserts a row in the worksheet above the specified row.

 public void InsertRow(int rowNumber, RowInsertBehavior rowCellsCopyBehavior)
Public Sub InsertRow(ByVal rowNumber As Integer, ByVal rowCellsCopyBehavior As RowInsertBehavior)

The 0-based number of the row to insert.

The Style.RowInsertBehavior that defines the source style for each cell in the new row. Each cell in the new row will be given the style of its neighbor identified in this parameter.

  ws.InsertRow(3, Style.InsertBehavior.CopyAreaFromBelow);
ws.InsertRow(3, Style.InsertBehavior.CopyAreaFromBelow)