I am trying to add a new row to the data grid programmatically, but I keep getting the error:
"Object reference not set to an instance of an object."
I have tried using:
grid[1,1].Text = "something";
grid.CurrentCell.Renderer.ControlText = "xxx";
In the help I found the GridRowCollection, but I couldn''t find any examples on how to use it. I''m not sure where else to look.