想要在ASP.NET中的标记上提交表单 [英] Want to submit the form on tag in ASP.NET

查看:72
本文介绍了想要在ASP.NET中的标记上提交表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个ASP.NET应用程序,该应用程序在页面末尾包含10个文本框和一个图像.
单击图像后,我只想提交表单,并且在此之前必须完成所有验证(我已使用RequireFieldValidator进行验证).
在提交时,我只想使数据库条目到数据库.

谢谢.

I have created an ASP.NET application with contains 10 textboxes and one image at the end of page.
After clicking on the image i just want to submit the form and before that all the validations must be done (I have used RequireFieldValidator for validation).
On submiting I want to just want make DataBase entry to the database.

Thank you.

推荐答案


为什么只使用图像?相反,您可以使用imagebutton并单击以进行数据库输入.
Hi
Why are you using image only ? Instead you can use imagebutton and on click of which you can do the database entry.


这篇关于想要在ASP.NET中的标记上提交表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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