我想要导航键编码 [英] i want coding of navigation keys

查看:79
本文介绍了我想要导航键编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好先生,
请帮我,请给我发送vb.net中导航键的编码
导航键之类的,首先我要使用ms访问权限连接数据库
比我想查看下一个记录,最后一个记录,私有记录和转发记录要多
带有导航键,因此请帮助我如何在vb.net中获取此内容
请先生尽快给我答复
比您

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

推荐答案

根据您的帖子,您还不清楚您真正想要的是什么.如果要在应用程序中创建导航键,请连接适当的事件(例如KeyPress)并在事件处理程序中实现必要的逻辑.
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.


尝试在CP文章 [本文 [ google [这篇文章 [
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.


 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


这篇关于我想要导航键编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆