Me.<textbox name>.Text = <dataset name>.<table name>.Rows(<row counter variable>)("<field name>").ToString
Private Sub uxFirst_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles uxFirst.Click
Me.EmployeeBindingSource.MoveFirst()
End Sub
Private Sub uxPrev_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles uxPrev.Click
If Me.EmployeeBindingSource.Position > 0 Then
Me.EmployeeBindingSource.MovePrevious()
End If
End Sub
Private Sub uxNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles uxNext.Click
If Me.EmployeeBindingSource.Position < Me.EmployeeBindingSource.Count - 1 Then
Me.EmployeeBindingSource.MoveNext()
End If
End Sub
Private Sub uxLast_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles uxLast.Click
Me.EmployeeBindingSource.MoveLast()
End Sub
You don't have to check the BindingSource.Position MattP, the Move.. methods calls this property and the setter adjusts it automatically.