As Recordset.MoveNext function is no longer available in VB.NET(searched alot on internet), I want a way to solve my problem..
(Using MSSQL, just seen movenext funct
In UI, you can use BindingNavigator. In code, you can use BindingSource.MoveNext() or change this.BindingContext[datasource].Position.
OP: Some Data bindingNavigator function I seen somewhere but can't get it. If this option is good option then please add a link in comment plz...
As a quick start to create a data application:
>
Other Windows >
Data Sources or by using its shortcut Shift+Alt+D.After creating the DataSet, Open a form, then go to Data Source Window and Set the Control to be created when dragging from the Data Sources Window.
If you choose details mode in Data Source Window, for each field of table a control will be placed on the form. If you choose DataGridView mode, DataGridView
will be placed on the form.
Then drag a table name and drop it on the form. Some controls and some codes will be added to the form. You can run the form and it loads data and you can navigate between records using BindingNavigator
or change data and at last save changes by click on save button.
Note:
It shows data because the designer generated some codes to fill datasets by using TableAdapters.
It saves data becase the designer generated some codes to save data back to the database
It uses a BindingNavigator to navigate between records and show buttons for add, remove and save.
It uses a BindingSource control to to simplify the process of binding controls to an underlying data source. The component has methods and properties for sorting, filtering and navigation.
It uses a DataSet as a complete set of data including the tables that contain, order, and constrain the data, as well as the relationships between the tables.