BindingSource – A Closer Look…

In my previous posts I have spoken about how databinding works in Whidbey and some simple scenarios of binding in Whidbey using BindingSource and BindingList<T>. Now, let’s take a closer look at the BindingSource.   BindingSource can be bound to any of the following: –          Object –          System.Type –          IEnumerable –          ICollection –          IList –         …

15

BindingSource and BindingList Of T – DataBinding made simple!

In Whidbey we have new classes: BindingSource and BindingList<T> which should make DataBinding really easy even when binding to business objects. Main advantages are: –          BindingSource hooks on to property changes of the current item and fires ListChanged events when the underlying event changes –          BindingList<T> is the new generic implementation of IBindingList which fires…

10

DataBinding – DataGridView/BindingSource

Many folks I know find DataBinding a complex thing and try to stay away from it. Here is a quick overview of DataBinding and how it relates to DataGridView (a BIG feature in Whidbey!) and BindingSource (will make life simple!).   Before Whidbey a typical data bound app would have an Adapter (that would talk to…

4