If you set the anchor property of the grid, then you can just set your form's size, and the grid will follow. Measuring how big it should be is a little more complex, but you can ask the data source for a row count, as a starting point.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert