Can I bind DataGridView to my objects?
Are there any scenarios that describe how to bind a DataGridView to your own Objects?
I've been to this useful website and there are no examples for this scenario: http://msdn2.microsoft.com/library/k39d6s23(en-us,vs.80).aspx)
I have a class that represents my data record - say it's a 'Person' object with name, phone, address etc - I want these objects to be represented as one row in a data grid.
If possible, I also want to bind them to text fields so that when someone clicks on a row, data is also shown in another (more easily editable) area with textboxes and so forth. I'd also really like to use the DataNavigator control because before I started, that's exactly what I thought I'd have to develop myself! It's very nice.
Actually, given the OO nature of the whole thing, I'm a bit preplexed as to why everyone is so keen to bind to relational data and not simply objects they already have in their class design.
In actual fact, I'm using an Object Database to store the data, but that needn't be known to anything else as it's completely transparent.
Now all the scenarios I can find seem to push me toward using a completely 'Unbound' DataGridView - adding rows and everything manually 'OR' they straight away start talking about relational SQL data.
It looks like I'm going to have to implementSystem.Collections.IList and maybe a few others.
Are there any examples of someone converting their custom class to implement these in such a way that allows binding to a DataGridView?

