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's singleton activation mode in .net?
What are an object and a class?
Explain what rare the types of jit and what is econo-jit?
A developer company sends dlls to the client. Some client is not happy current functionality, so request some modification. Developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected?
What is dot net and its uses?
What is a garbage collector?
Explain something about WebService?
Where does the gac exist ?
What do you mean by Driver Script?
Explain what relationship is between a process, application domain, and application?
Explain the top .net class that everything is derived from?
What is manifest in .net?
Differentiate between 'DataSet' and 'SQLDataReader' in ADO.NET?
Explain how does assembly versioning work?
Explain how to stop a thread?