O'Reilly logo

ADO.NET Programming in Visual Basic™ .NET by Bob Howell, Steve Holzner

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

The DataGrid

We have left the DataGrid control as a separate topic because the control is quite complex. It is the most robust grid control ever provided out-of-the-box from Microsoft. It is probably as robust as some of the third-party grid controls of only a couple of revisions back. The DataGrid has no unbound mode. It must be bound to a DataSource. But before you get excited, think for a minute. Since we can now create DataSets on the fly and use them in place of obsolete structures like arrays, we really can use the grid unbound —to a database that is. All we have to do is create a DataTable or a DataSet, populate it with whatever way we want, and bind it to our grid. This is the same effect as an unbound grid control in previous versions ...

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