问题描述
嗨
我正在做一个ASP前端。在这里,我有3个提交(按钮)[即 - 搜索列表,搜索联系人和搜索两者]在我的页面和一个文本框中。以及我想要的是什么 - 当用户在文本框中写一个名字并点击其中一个提交时,相关的ASP代码应该有效。
i想知道我如何查询不同的按钮。就像点击搜索列表一样,搜索只能通过我的数据库列表来进行等等......
如何对同一ASP代码中的不同提交按钮进行不同的编码页面。
谢谢
neha
hi
i am doing a ASP front end. here I have 3 submit (buttons)[namely-search list, search contacts and search both] in my page and one text box. well what i want is- when ever the user writes a name in text box and clicks on one of the submit that perticular ASP code should work.
i want to know how do i query for the different buttons. like if search list is clicked then search should happen only through list table of my database and so on.....
how to code differently for different submit buttons in the same ASP code page.
thanks
neha
推荐答案
你解决了这个问题吗?
Have you solved this?
这篇关于如何编码多个提交按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!