ComponentOne Input for WinForms
Using the C1Input Controls / C1Input Controls / C1DbNavigator Control Overview
In This Topic
    C1DbNavigator Control Overview
    In This Topic

    The C1DbNavigator class represents the C1DbNavigator control. It is a data bound control that provides buttons for convenient navigation over data source rows. It enables movement to the first, last, previous and next row and common data actions such as updating the data source and refreshing data.

    The NavigatorButtonEnum gets the list of available buttons for the C1DbNavigator control which are the following: Add, Apply, Cancel, Delete, Edit, First, Last, Next, Position, Previous, Refresh, and Update.

    The Position value of the NavigatorButtonEnum is used in the BeforeAction event when the text in Position text box is changed. For an example see, Changing the Navigation in the Navigator.

    The C1DbNavigator control includes the following buttons that can be used to navigate and edit the records in a dataset
    dbnavigator

    Button Description
    dbnavigator First button. Moves to the first row in the record. Visible by default.
    dbnavigator Previous button. Moves to the previous row in the record. Visible by default.
    dbnavigator Next button. Moves to the next row in the record. Visible by default.
    dbnavigator Last button. Moves to the last row in the record. Visible by default.
    dbnavigator Add button. Adds a row to the record. Not visible by default.
    dbnavigator Delete button. Deletes the row in the record. Not visible by default.
    dbnavigator Edit button. Edits the row in the record. Not visible by default.
    dbnavigator Apply button. Applies the changes made in the record. Not visible by default.
    dbnavigator Cancel button. Cancels the changes. Not visible by default.
    dbnavigator Update button. Updates the record. Not visible by default.
    dbnavigator Refresh button. Refreshes the record. Not visible by default.
    See Also