You have attempted to execute the Grid.AddObject method to add an object other than a column to the grid.
To add an object to a column, use the Grid.Column syntax with the AddObject method.