DataBindingSource – To bind to a collection of objects, you need a collection type that implements the IList interface.

DataBindingSource – If you bind to an ArrayList of objects, only the object properties are generated into columns, not fields.  The reason, I read, is that DataGridView uses reflection to get the property information.  In C# 3.0, you can use the syntax:
public string Name { get; set; } to concisely generate the properties, which is nice.
Ref. Eric Gunnerson’s blog:


Post a Comment

Required fields are marked *

%d bloggers like this: