使用CSharp验证asp.net中的学生ID [英] Validating the student id in the asp.net using CSharp
问题描述
我的设计如下;
学生ID textbox1
在运行模式下如下;
学生ID textbox1和show(按钮)。
in运行模式如果用户没有输入学生ID并点击显示按钮想要显示消息请输入学生ID。
我该如何验证在asp.net使用csharp。
请帮帮我。
注意它是windows应用程序。
问候,
Narasiman P
< blockquote> ASP.Net提供了许多验证方法。
您可以选择客户端和服务器端验证并继续进行。
以下是一些好文章 -
了解ASP.NET验证技术 [ ^ ]
http://www.tutorialspoint.com/asp.net/asp.net_validators.htm [ ^ ]
My design as follows;
Student id textbox1
in the run mode as follows;
Student id textbox1 and show (Button).
in the run mode if the user did not enter the student id and click the show button want to show the message please enter the student id.
for that how can i validate in asp.net using csharp.
please help me.
Note it is windows application.
Regards,
Narasiman P
ASP.Net offers a number of approaches to validation.
You would choose between client and server side validations and proceed accordingly.
Here are some good articles -
Understanding ASP.NET Validation Techniques[^]
http://www.tutorialspoint.com/asp.net/asp.net_validators.htm[^]
这篇关于使用CSharp验证asp.net中的学生ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!