Dmytro Lapshyn's Blog

Dmytro Lapshyn's Blog at vbCity

Home Contact Syndicate this Site (RSS 2.0) Syndicate this Site (Atom) Login
  8 Posts :: 0 Stories :: 5 Comments :: 0 Trackbacks

Archives


Thursday, April 13, 2006 #

There are two alternatives when one needs to update a data grid's data source:

  • By setting the DataSource (and probably the DataMember) properties' values.
  • By using the SetDataBinding method.

In my experience, the latter is the right way. It just looks like the SetDataBinding method fully updates the grid's state, while just setting the properties does not trigger the complete internal state update sequence.

posted @ 2:54 PM