vb.net中是否有任何自动递增编号的编码 [英] is there any coding for auto increment number in vb.net

查看:149
本文介绍了vb.net中是否有任何自动递增编号的编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

自动ID号是否有任何自动递增号编码?

我得到了你所有的答案,谢谢你,先生..

pls很快会回复我 ....实际上,先生,我对此非常困惑

谢谢


添加为单独的问题

尊敬的先生,
实际上,我的项目定义实际上是其安全性目的,这是我的形式
fild是AUTO ID,它的标签和TEXTBOX,它们是SAVE,UPDATE,DELETE,EDIT,它是我的
现在我的项目数据库中的字段很容易存储,但是当用户想要更新他/她时
当时该字段中的数据我在此自动编号ID中添加了自动编号ID
已禁用,但当用户在该时间保存数据时,计数器将启动,如果我
保存当时的数据将生成AUTO NUMBER ID(自动编号ID),意味着保存一个完整数据
大于,1、2、3、4,然后当用户需要他/她的需求时
so..pls帮助我实现此功能的确切编码是什么
谢谢sir

sir,

Is there any auto increment number coding for auto id number

i got all your answers thank you sir..

pls reply me soon....actuly sir i m very confusing aboutit

thank you


Added as a seperate question

respected sir,
actualy my project definition is its security purposse acutaly their is my form
the fild is AUTO ID its lable and TEXTBOX and their is SAVE,UPDATE,DELETE,EDIT its my
field now in my project databse is store easily but wh n user wants to update him/her
data in that field at that time i add AUTO NUMBER ID in this auto number id the
is disabled but when user save data at that time counter will be start means if i
save my data at that time AUTO NUMBER ID will be generated means save one whole data
than increment 1,2,3,4,after and after when user wants his/her requirment
so..pls help me what is the exactly coding for this
thank you sir

推荐答案

如果您正在谈论DataTable中的自动编号字段,请查看以下内容:http://msdn.microsoft.com/en-us/library/system.data.datacolumn.autoincrement.aspx [^ ].但是,您已经标记了MS-Access,因此,如果要在Access中具有自动编号字段,可以在Access的列上对其进行定义.
If you''re talking about an auto numbering field in a DataTable then have a look at this: http://msdn.microsoft.com/en-us/library/system.data.datacolumn.autoincrement.aspx[^]. However you have tagged MS-Access so if you want to have an auto numbering field in Access you can define it on an column in Access.


在这里检查
[ ^ ]
check here
[^]


希望 [ ^ ]可能会为您提供帮助.
Hope this[^] might help you.


这篇关于vb.net中是否有任何自动递增编号的编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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