[]
Sets the row index in the data model that corresponds to the specified row index in the sheet.
public virtual int SetModelRowForViewRow(int viewRow, int modelRow)
Public Overridable Function SetModelRowForViewRow(viewRow As Integer, modelRow As Integer) As Integer
Type | Description |
---|---|
int |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified row in the sheet is out of range; must be between -1 and the total number of rows |
ArgumentOutOfRangeException | Specified row in the model is out of range; must be between -1 and the total number of rows |