为文本框创建Dll [英] Creating Dll For TextBox

查看:69
本文介绍了为文本框创建Dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Asp.net C#中使用Dll创建仅接受数字的文本框.
请尽快帮助我.......................

How To Create A TextBox For Accept Only Number By using Dll In Asp.net C#.
Please Help Me Soon....................

推荐答案

首先,您需要了解如何创建一个为此的自定义用户控件,您可以检查

构建ASP.NET自定义Web控件:一个文本框和一个验证器合而为一 [
First you need to understand how to create a custom user control for this you can check

Building an ASP.NET custom web control: a textbox and validator in one[^]


Once you understand the concept behind this then you can attach a javascript function to your custom control which only accepts the numbers. You can find this script on google very easily.


这篇关于为文本框创建Dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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