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
What is the difference between vb.net and vc#.net?
What is the concept of inheritance in .net?
What are the difference bbetween value type & reference types ? Example from .net. Integer & struct are value types or reference types in .net?
What is a formatter in .net?
Explain why do we use msmq?
What is the use of system.diagnostics.process class in .net?
What is misl?
How you apply a theme in whole application in .Net?
What is connection pooling and how do you make your application use it?
What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?
Explain what is an anonymous method and how is it different from a lambda expression?
Explain can the validation be done in the server side? Or this can be done only in the client side?
What is COM Interoperability in .NET
i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?
What is the single responsibility principle?