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
The project which you have made, which methodology did you use?
What is the use of UML in .Net
What is managed code and managed data in .net?
What is the best way to crack the certification?
How is a managed code executed?
What is .net code security?
What is garbage collection in .net? Explain the garbage collection process?
How will you register com+ services?
Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?
Is there any thread in our .net programs?
Different levels of priority provided by .net.
Difference abstract class and interface in .net?
Explain how to load the contents of an xml file into an xmldocument object?
What is "common language runtime" (clr) in .net?
What is the difference between asp.net & vb.net and explain architecture?