如何通过单击按钮在Sql server 2008表中自动增加id [英] How to autoincrement id in Sql server 2008 table by clicking button
本文介绍了如何通过单击按钮在Sql server 2008表中自动增加id的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿团队,
我在基于Windows的应用程序中有简单的任务但是不知道该怎么办?
我在sql server 2008中有Place表格,如
100 A IT MUMBAI
我在表单上有按钮和文本框,当我点击按钮新ID101(增加1)
根据现有的表ID,应显示在文本框。
PLease帮助我。
非常感谢
Hey Team ,
I have simple task in Windows based application but doint know how to do?
I have table "Place" in sql server 2008 like
100 A IT MUMBAI
and I have button and textbox on form , when I click on button new ID "101" ( increment by 1)
according to existing Table id ,should be displayed in Textbox .
PLease help me for same.
Many Thanks
推荐答案
参考这个
如何在文本框中增加我的id [ ^ ]
这篇关于如何通过单击按钮在Sql server 2008表中自动增加id的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文