tag:blogger.com,1999:blog-20359354.post114688060835001010..comments2007-05-01T16:55:46.372-04:00Comments on Aaron Feng: Databinding is EVILAaron Fenghttp://www.blogger.com/profile/09313532120106531143noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-20359354.post-59624879621479365402007-05-01T16:55:00.000-04:002007-05-01T16:55:00.000-04:002007-05-01T16:55:00.000-04:00I realize this is a year late... but I agree whole...I realize this is a year late... but I agree whole heartedly. <BR/><BR/>Every day that I think, "Hey I finally understand data binding," I get some new problem pop up. I think there are too many assumptions of <BR/>a) The programmer's knowledge of the data binding mechanism <BR/>b) the object model <BR/>c) the usage scenario<BR/><BR/>I made a recommendation to the development team early in the project to go with data binding, and some days I regret my decision, because I spend so much more time debugging and troubleshooting, for example, comboboxes that don't update the underlying datasource when it is nullable, etc...<BR/><BR/>Despite the duplication, I think that a traditional paste and scrape method is far superior because it gives greater control to the programmer and is 100% reliable. Hell, even DoDataExchange from MFC is better.<BR/><BR/>Some days I bang my head on my keyboard and ask, "why does this have to be so complicated? I just want to put a value on the screen..."<BR/><BR/>These days, when there are new technologies coming out of Microsoft every month, I just don't have the time to scratch my head and wonder why nothing works, and I still have to attach a delegate to OnSelectionChangeCommitted and manually set the value...Alex Stegerhttp://www.blogger.com/profile/07737244653254511875noreply@blogger.comtag:blogger.com,1999:blog-20359354.post-1147144326968123252006-05-08T23:12:00.000-04:002006-05-08T23:12:00.000-04:002006-05-08T23:12:00.000-04:00I was also thinking about that last night. Databi...I was also thinking about that last night. Databinding on datagrid seems to work fine. That is a good thing because populating datagrid by hand is not an acceptable solution.Aaron Fenghttp://www.blogger.com/profile/09313532120106531143noreply@blogger.comtag:blogger.com,1999:blog-20359354.post-1147051803189293822006-05-07T21:30:00.000-04:002006-05-07T21:30:00.000-04:002006-05-07T21:30:00.000-04:00Spot on. I, too, have long hoped databinding would...Spot on. I, too, have long hoped databinding would work like advertised, but it never seems to. I've basically given up on it for everything except datagrids.Chris Holmeshttp://www.chrisholmesonline.comnoreply@blogger.comtag:blogger.com,1999:blog-20359354.post-1146885203431334042006-05-05T23:13:00.000-04:002006-05-05T23:13:00.000-04:002006-05-05T23:13:00.000-04:00This is the feeling I have been getting for a whil...This is the feeling I have been getting for a while now. It seems like any time Databinding is involved we have day long sessions why #*#@ won't this work right and we never seem to get any closer to understanding and using it predictably as a team.Nick Goedehttp://www.nickgoede.com/blognoreply@blogger.com