This error may occur in the following situations:
- The number of columns you have specified in the Size
method is less than 1, or greater than the MaxSize
property.
- You have tried to set Cols property to a
value less than 1, or greater than the MaxSize
Property.
To solve this problem
Use a valid number of columns.
See Also
MaxSize Property | Size Method
| Cols Property