for the textbox if i want to allow only numbers.what ever
the characters u enter it should not take.which event u used?
Answer Posted / kinjal
if u r using web application then take one textbox and use comparevalidator
set properties of comparevalidator .
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="TextBox1"
Display="Dynamic" ErrorMessage="Integer required."
Operator="DataTypeCheck" SetFocusOnError="True"
Type="Integer"></asp:CompareValidator>
| Is This Answer Correct ? | 13 Yes | 10 No |
Post New Answer View All Answers
How com+ related to the dna architecture?
object is physical and class is logical..here class is not occupying any memory as our definition of class but i got a question then the class where it stores if it is not occupying any memory....
How is .net able to support multiple languages?
Explain the process of compilation in .NET?
What is the concept of inheritance and how it works in .net?
How to debug failed assembly binds?
What is a web service in .net?
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
What's the use of system.diagnostics.process class in .net?
Explain the use of activex control in .net?
Will my .net app run on 64-bit windows?
What is iis? Have you used it?
Explain what is a delegate?
Whate are resource files?
Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?