O'Reilly logo

Essential ADO.NET by Bob Beauchemin

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

6.3. Using Databound Controls

Both Windows Forms and ASP.NET Web Forms support a data binding architecture. As in past APIs, such as the OLE DB data control architecture, data binding is defined as part of the control architecture in .NET. The major data binding improvement is an increase in the number of classes that can bind data. In Visual Basic 6, for example, a DataSource property must point to an actual data access component, usually a Recordset; in .NET data binding, any data can be used. Using DataTable (the .NET equivalent of Recordset) is certainly permitted, but simpler classes (such as arrays) are also supported. The other major change is that when you use the disconnected model, .NET disallows “live” database updates and the locking ...

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