O'Reilly logo

Programming Microsoft® ADO.NET 2.0 Core Reference, 2nd Edition by David Sceppa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Questions That Should Be Asked More Frequently

Q

Should I rely on data binding in an application that I plan to distribute?

A

I rely on data binding when I build the user interface for an application. It lets me develop the basic user interface quickly with a small amount of code. Once I’m comfortable with the layout of the user interface and the schema of the data that the application uses, I consider whether to continue relying on data binding. If I need more control than I can achieve using data binding, or if I decide that relying on data binding will not save time in completing the application, I replace the data-binding functionality with my own code.

You’ll notice that step 11 in the chapter’s main sample application still relies on a bound ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required