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

Let’s Try It!

If you haven’t already done so, set the TestBed project to be the startup project. Now run the program. The DataGrid should populate with the contents of the Northwind Customer table. Try clicking the navigation buttons. The pointer should move accordingly and the caption should update with Record: n of x (assuming the autoText property is set to True). Notice there is no user-supplied code in the test form. All of this functionality comes from the navigator control (see Figure 11.6).

Figure 11.6. The running test harness.

Click on the Selector column of the grid and move the pointer that way. Oops! The record counter does not ...

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