The Binding Navigator control provides a user interface with a simple data navigation and manipulation on the form.
DefinitionThe Binding Navigator control provides a user interface with a simple data navigation and manipulation on the form. It is used for Binding the Database Tables values to the control (DataGridView,Text Box, label and so on). The BindingNavigator with the BindingSource enable users to move through data records on a form and interact with the records.There are a few buttons in a Binding Navigator as listed below:
Here we bind a Binding Navigator with a DataGridView and TextBoxes. You can view the record in TextBoxes and DataGridView using the Binding Navigator. We will first create a database and table and bind the control with the Binding Navigator.Step 1
Open your Visual Studio then select "File" -> "New" -> "Project..." then seelct "Windows Forms Application". Then drag and drop a DataGridView, Label, Text Box and Binding Navigator control to the Form from the Toolbox as shown below:
Output
Programming Windows Common Dialogs with Visual C# 2010