i have a register form & in that form i have a 2 textboxes
for entering name&age.my doubt is that how can i provide
error message like "invalid entry" when user enter a
invalid name/age(eg:user enter name as #%%%##daff,and age
as 1000.)in that textboxes.I want code.
Answer Posted / saravanakumar
We can use RegularExpressionValidator to validate the textbox content.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are sessions and cookies?
Why is xap important?
What is the difference between session and viewstate?
What is global.asax file used for?
What are the differences between clr & cts?
Explain the difference between inline and code behind - which is best in?
What are the asp.net security controls?
What is the use of web.config and machine.config files?
What is the difference between custom controls and user controls?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
What is full trust in asp.net?
How you can stop the validation of ASP.NET controls from client side?
Please briefly explain the usage of global.asax?
What’s the use of “GLOBAL.ASAX” file?
Explain about Application and Session Events ?