Using Databinding with DataSets

In Visual Basic 6, databinding means that you can get data from a database and bind that data to various controls. This is still true in Visual Studio .NET, except that binding data to controls has been taken to new heights.

Most controls that exists in the Toolbox can be bound to a data source, and the data source doesn't have to be a database. It can be an array, a Web service, an XML file, a resource file—almost anything. The nice thing is that the model for databinding is consistent no matter what the source of data is. You tell a control what property you want to bind, you pass the control a data source and, like magic, the information appears. This type of flexible binding makes it very easy to write 100% ...

Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.