Click here to Skip to main content
15,911,786 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hello sir,
pls help me pls send me coding of navigation keys in vb.net
navigation keys like first i want to connect database with ms access
than after i want to see next record,last record,privious record and forward record
with navigation keys so pls help me how can i get this things in vb.net
pls sir reply me soon
than you
Posted

Based on your post it's very unclear what you actually want. If you want to create navigation keys in your app, you wire proper events, such as KeyPress and implement the necessary logic in the eventhandlers.
 
Share this answer
 
Try searching in the CP Articles[^] for help before posting such a general question. This article[^] in particular looks like it could help get you started.

Or try google[^]. I found this article[^] there that could also help get you started.
 
Share this answer
 
VB
 it is basic stuff in vb.net,Try the following code may be help you..
Dim inc, max As Integer
max = ds.Tables("Table name").Rows.Count

Button first
inc = 0
display()
button previous
If inc <> 0 Then
    inc = inc - 1
    display()
    End If
Button Last
For inc = 0 To max - 1
    display()
 Next
Button Next
If inc <> max - 1 Then
   inc = inc + 1
   display()
End If
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900