Binding custom object to Datagridview
Thanks to the use of generic collections it is supereasy to bind your favourite object to a datagridview!
First create a new BindingList for the type you want to use as the datasource.
BindingList data = new BindingList();
Now create a new object of the type BindingSource and set your bindinglist as it's datasource
BindingSource dsData = new BindingSource();
dsData.DataSource = data;
Now you have the datasource of your DatagridView. Simply assign it to the Datasource project of your DataGridView.
dgvYourDataGridView.DataSource = dsData;
The only thing you need to make sure of is that the class you are using has properties. Each property represents a column!

The entire code:
BindingList data = new BindingList();
BindingSource dsData = new BindingSource();
dsData.DataSource = data;
dgvYourDataGridView.DataSource = dsData;
That's all for today folks!