Invalid column value
You have attempted to access a column that does not exist. The first column in a grid is zero. Therefore, the last column in a grid is the number of columns minus one. Use the Cols property to set or return the number of columns in a grid.