单击一次即可执行多个查询 [英] Execute multiple queries on single button click
本文介绍了单击一次即可执行多个查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我有一个默认页面.我有两个按钮,分别是编辑"和保存".
我在该页面中有5个文本框.首先,我将在文本框中插入值,然后单击保存"按钮将其保存.稍后,如果单击编辑"按钮,我将获得之前输入的值.然后,我想在保存按钮单击时更新相同的记录.我该怎么办?
谢谢
Hello,
I have a default page. In that I have two buttons namely Edit and Save.
I have 5 textboxes in that page. At first instance, I will insert the values in the textbox and save it by clicking on save button. Later if I click on edit button, I will get the values what I had entered previously. Then I want to update the same record on save button click. How can I do it?
Thanks
推荐答案
听起来您正在寻找构建基本CRUD应用程序的指南(创建读取更新删除),因此请看一下ASP.net:
http://www.asp.net/downloads/starter-kits/employee-info [ ^ ]
It sounds like you''re looking for a guide to building a basic CRUD application (Create Read Update Delete), so have a look at the stuff on ASP.net:
http://www.asp.net/downloads/starter-kits/employee-info[^]
这篇关于单击一次即可执行多个查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文