Learn about ASP (Recovery version)

Source: Internet
Author: User

The previous period of time did not learn the problems encountered in the detailed summary of the solution, today, finishing.

In view of our graduate thesis management system is a group form, so although I only responsible for the database, but the other part of the number of some work related, finally thank you classmates and teachers help, I hope we can more efforts to complete the completion of the establishment. Here are some of the problems that I have encountered:

1. RequiredFieldValidator controls in ASP.

definition and Usage: The RequiredFieldValidator control is used to make an input control a required field.

With this control, validation fails if the initial value of the input value is not changed. By default, the initial value is an empty string ("").

This is I write input box check encountered problems, simply say is to determine whether the input is not empty, very good understanding.

Other attributes (from Wikipedia)

Specific implementation examples:

A Excerpted from http://blog.csdn.net/liushuijinger/article/details/8185291

B From the BI set

2. CompareValidator: Comparison Verification

Relatively easy to understand, only examples:

Excerpt from: http://www.cnblogs.com/ylbtech/archive/2013/03/07/2946219.html

Two input password comparison in this bi-establishment.

3. RangeValidator controls

Function: Used to detect whether a user input value is between two values. You can compare different types of values, such as numbers, dates, and characters.

Property:

Example (excerpt from http://blog.csdn.net/liushuijinger/article/details/8276721)

Detects if the input date is between 2012-01-01~2012-12-31

Some of these properties are important:

1. ControlToValidate: The control to validate
2. ErrorMessage: Error message
3. MaximumValue: Maximum Value
4. MinimumValue: Minimum value
5. Type:integer "integer";D ate "date";D ouble "double-precision floating point"; string "literal"; currency[currency type]

---restore content ends---


P.S. The first time you don't know what's going on, the homepage doesn't show

Learning about ASP (Recovery Version)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.