Grid does not contain that row

You have tried to access a row that does not exist. The first row in a grid is zero. Therefore, the last row in a grid is the number of rows minus one. Use the Rows1WFQF0 property to set or return the number of rows in a grid.