Before the grid is populated, there are no rows to enumerate in the grid. If the class is used as a datasource, adding rows 'dgView.Rows.Add()' creates an exception stating 'Rows cannot be programmatically added to the DataGridView's row collection' I'm using the class as the view bindng source. If this is correct, how do I get the list of obects into the grid? If there is a different approach that would be better than what I'm attempting, please comment. Thank you for your time.
modified on Sunday, January 3, 2010 12:04 PM