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
Compare client server application with n-tier application
What is the advantage of packaging over xcopy in .net?
What is the use of gacutil.exe?
What tools is used to develop .NET applications?
How is a managed code executed?
How does cas works?
Show different types of collection in .NET?
Tell about your technical profile ?
What are an object and a class?
How do you generate a strong name?
What operating systems does the .net framework run on?
What exactly is being serialized when you perform serialization in .net?
Explain why do we use the “using” statement?
Difference between abstract class and interface in .net?
Explain what is mutex?