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

Completing the Test Harness

Let’s complete the test harness. We already have our data navigator control on the form. Now we need a control to display and manipulate our data. The best choice is the DataGrid control. Go ahead and drop a DataGrid control on the form. Set the Dock property to Top. Select the navigator control and set its Dock property to Top as well. Oops, the navigator went to the top of the form above the grid! This is the same problem we had before with the buttons. Simply use the Bring to Front or Move to Back commands.

Add two more buttons to the form. Name one cmdUpdate and change its Text property to Update. Name the other cmdCancel and change its Text property to Cancel Changes. If you want, although it is not necessary, ...

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