Asp.net文本框验证事件 [英] Asp.net textbox validate event

查看:97
本文介绍了Asp.net文本框验证事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

林在asp.net中新。我想知道如何解雇文本框验证事件。就像是Windows应用程序的文本框验证事件。我输入产品没有。在asp.net文本框,如果此产品没有。存在于数据库中,因此没有任何商品。从数据库中检索信息。

Im new in asp.net. I want to know how to fire textbox validate event. Just like as windows app textbox validate event. I enter the Product no. in asp.net textbox and if this Product no. exist in database so this Product no. information retrieve from database.

推荐答案

最简单的是添加一个搜索按钮。在搜索按钮,查询您的数据库表的背后code,然后你可以打印导致标签。或显示一个jquery模式用户。

Easiest would be to add a search button. In code behind of the search button query your DB table and then you can print result in a label. or display a jquery modal to user.

这篇关于Asp.net文本框验证事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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