What are two ways that you can set the minimum and maximum
values for a rangevalidator? When would you use each technique?
Answer / answerme
One of the ways to set Minimum Value and maximum value can
be set by usin =g the propery MinimumValue and MaximumValue.
<asp:RangeValidator
ControlToValidate="tbox1"
MinimumValue="2005-01-01"
MaximumValue="2005-12-31"
Type="Date"
EnableClientScript="false"
Text="The date must be between 2005-01-01 and 2005-12-31!"
runat="server" />
Will check if the date falls between the range.
This can be used when the specific range is known
| Is This Answer Correct ? | 4 Yes | 0 No |
Difference between datareader and dataset ?
What’s the difference between response .redirect and server.transfer?
What is the use of autowireup in asp.net?
How do pass data from one layer to another layer in N-tier architecture?
is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it possible
What is the purpose of each of the validation controls provided by ASP.NET?
What is bound controls
What is %20 in a url?
Can you change a master page dynamically at runtime? How?
what is CTS?
What does the .webpart file do?
How to implement Authentication and Authorization?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)