Book ReviewData Binding with Windows Forms 2.0

time to read 4 min | 601 words

Data Binding with Windows Forms 2.0 : Programming Smart Client Data Applications with .NET (Microsoft Net Development Series)

12:57: I got this book from a friend, and I'm going through it in a speedy pace. I'm only finsihed chapter 2 right now, but I think that I can tell that this is going to be a good book. The datasets chapter was very good, without being condensingly simple, like most of the datasets tutorial that I encountered. As someone who can honestly claim to have never used a data set in a real app (not that I didn't try, I just couldn't make it do what I wanted), I appriciate the kind of treatment of the subject the book has.

I still have to go through more than just the "magic" demos, so I will update this post as I go along.

13:22: I finished chapter 3, which had me buliding a Master - Details relation with grids that is very close to what I need. I'm not sure that I understand how to get this to work with Active Record objects, though. I think that I can make it work. I'll need to see the chapter about binding to custom objects and playing with that a bit to get it to do something useful and pretty. I really like the binding navigator, though, it looks like it can be highly useful.

13:28: Just starting to read chapter 4, and it has a statement there that makes me want to jump up and cry "Halleluja"

This can all be set up in the constructor, and is typically done by dragging and dropping both the grid and the binding source onto the form and setting the appropriate properties in the designer. However, for now, let's focus on how to do things without the magic of the designer.

Now that is my kind of sentiment. Also check the "Code First Versus Design Features First" section in the beginning of the book.

14:21: Found that text boxes in Win Forms 2.0 has auto complete features. I did not know that. This is really cool.

14:36: Chapter 4 done, it was very interesting, and included examples of several interesting scenarios. Formatting / Parsing were interesting, as well as the more detailed explanations of how databinding works.

14:58: Chapter 5 is done. Lots of ways of using the designer. It included some stuff that I think are cool, since I have seen what kind of code I would need to write in order to make the databinding happen (and I know what kind of a pain it is to write this manually).

15:12: Tried to used what I learned so far, but it looks like interfaces & data binding aren't going well. At least with regard to the designer. I tried to bind to ICollection<T> and to IList<T>, and it fails. It works just find on List<T>.  I guess that I have a lot more reading to do.

I need to go ponder the meaning of matrix multiplication in the general scheme of the universe, so I'll post this now, and post the rest of the review when I return to it.

More posts in "Book Review" series:

  1. (05 Nov 2009) The Wheel of Time – The Gathering Storm
  2. (11 Aug 2009) Yellow Eyes
  3. (24 Jul 2009) Watch on the Rhine
  4. (23 Jul 2009) By Heresies Distressed
  5. (23 Jul 2008) By Schism Rent Asunder
  6. (04 Oct 2007) Making Money
  7. (30 Sep 2007) Empire of Ivory
  8. (08 Sep 2007) Empire Of Man
  9. (01 Sep 2007) March Upcountry
  10. (21 Feb 2007) Programming WCF Services
  11. (09 Feb 2007) Windows Developer Power Tools
  12. (25 Sep 2006) Old Man's War
  13. (03 Sep 2006) His Majesty's Dragon / Throne of Jade / Black Powder War
  14. (30 Aug 2006) Applying Domain-Driven Design and Patterns
  15. (18 Aug 2006) Dzur
  16. (15 Aug 2006) When Darkness Falls
  17. (22 Apr 2006) Data Binding with Windows Forms 2.0
  18. (17 Oct 2005) Knife Of Dreams
  19. (28 Aug 2005) Working Effectively With Legacy Code
  20. (25 Jul 2005) Harry Potter and the Half-Blood Prince
  21. (14 Jul 2005) Sword of Ice
  22. (14 Jul 2005) Vows & Honor Trilogy
  23. (14 Jul 2005) The Mage Storms Trilogy
  24. (14 Jul 2005) Winds of Change
  25. (10 Jul 2005) Winds of Change
  26. (09 Jul 2005) Winds Of Fate
  27. (08 Jul 2005) Burning Water
  28. (08 Jul 2005) By The Sword
  29. (06 Jun 2005) Developer To Designer
  30. (05 Jun 2005) The Last Herald Mage
  31. (01 Jun 2005) Arrow's Fall
  32. (01 Jun 2005) Arrow's Flight
  33. (27 Apr 2005) Domain Driven Desing
  34. (01 Apr 2005) Exile's Valor
  35. (18 Jan 2005) Alta
  36. (16 Jan 2005) Coding Slave
  37. (13 Jan 2005) Hibernate In Action
  38. (25 Oct 2004) In Search of Stupidity