Navigating Through Datasets Using Bound Controls

Because simple-bound controls display data only from a single record at a time, it's common to add navigation controls like the buttons you see in the ch09_05 example, Figure 9.25, to enable users to move from record to record. When the users click the << button, they move to the first record; when they click the >> button, they move to the last record; the > button moves to the next record, and the < button moves back one record.

Note also that the user's current position is indicated in a label (customized to look like a text box) between the navigation buttons in Figure 9.25. And as you can see in that figure, the complex-bound controls, such as the data grid and the list box, also automatically ...

Get Microsoft® Visual C#® .NET 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.