O'Reilly logo

Programming .NET Compact Framework 3.5 Second Edition by David Durant, Paul Yao

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

Chapter 4. Data Binding to Controls

In this chapter, we examine data binding, the ability to associate non-GUI objects that hold and maintain data with the controls that present and receive that data.

Data Binding

MOST CONTROLS, especially single-item and list-based controls, display and accept data. Most data, when it is not being displayed or modified within a control, is kept in a database. And we’re using the term database quite loosely here—loosely enough to include anything from a List to a SQL Server database. Because the data is kept in a database and because we need to display and modify it through the use of controls, we need a simple, consistent, property-oriented technique for moving data between our database and our controls. Data binding ...

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