我想在删除表格中的项目后重新排列序列号字段 [英] I want to rearrange serial no field after deleting an item from table
本文介绍了我想在删除表格中的项目后重新排列序列号字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的
我正在使用小程序。在我的项目中,我有数据库字段S_NO(序列号)。我想在删除该表中的项目后重新排列序列无字段,如(1,2,3 ...等)。如何使用C#代码。或者通过更新序列号字段
期待帮助
解决方案
编写更新查询并执行它。
Steven
您能否举例说明使用C#在单个Button_Click事件中更新多个记录(字段名称 - SL_NO)。
您是否已经尝试过Google或MSDN?
Steven
Hi dear
I am working with small program. In my project I have Database field S_NO (serial no).I want to rearrange serial no field after deleting an item from that table like( 1,2,3... etc).How can it possible using C# code. Or by updating serial no field
Expecting Help
解决方案
Write an update query and execute it.
Steven
Can you give an example for updating multiple number of Records ( field name - SL_NO) in single Button_Click Event using C#.
Have you already tried Google or MSDN?
Steven
这篇关于我想在删除表格中的项目后重新排列序列号字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文