2. INTRODUCTION TO
VALIDATION
A Validation rule is a procedure that limits or control
user can enter in a table , field or control (like a text
box) on a form.
Microsoft office access 2007 provides a number of
ways to validate data, and your often use several of
those techniques to define particular desired
validation rules.
3. TYPES OF VALIDATOR
COMPARE VALIDATOR
CUSTOM VALIDATOR
RANGE VALIDATOR
REGULAR EXPRESSION VALIDATOR
REQUIRED FIELD VALIDATOR
VALIDATOR SUMMARY
4. COMPARE VALIDATOR
The validator is used to compare the value entered by a
user .
PROPERTY-
* Control to input contain to validate.
5. CUSTOM VALIDATOR
The custom validator control is used to customize an
implement data validation.
The data in a way that is not possible directly with the help
of existing validation control.
If you want to find out weather a number is even or odd.
PUBLIC PROPERTY :
VALIDATE EMPTY-
Often sets a Boolean value . Indicated weather empty text
should be validated.
CLIENT VALUATION FUNCTION-
Obtains of set the name of custom client and existing used
for validation control.
6. RANGE VALIDATOR
The range validator controls to checks weather or not
the value of input control inside a specify range of
values.
These are three types of properties-
• CONTROL TO VALIDATE –
* Contains the input control to validate.
• MINIMUM VALUE –
* Holds the minimum value of valid range.
• MAXIMUM VALUE –
* Holds the maximum value of valid range.
7. REGULAR EXPRESSION
VALIDATOR
Regular expressions are used to check weather or not
the text match a certain matters.
The regular expression validate control validate
weather the value in the input control (text box)
matches the format specified by the regular
expression, as a date format and enter the E-mail
address.
8. REQUIRED FIELD
VALIDATOR
Required field validator control in ASP.NET is a simple
validator .
Which checks to see if the data is entered for the
attach control.
You can set the error message property which you want
to display. The another property is control to validate
in which you can set the attached control instance.
9. VALIDATOR SUMMARY
The validation summary control error message as
displayed it collectly in the screen.
PUBLIC PROPERTIES :
DISPLAY MODE-
* Set the display mode of a the validation control.
• SHOW MESSAGE BOX-
* Set of value showing weather is displayed in the
message box.
• SHOW SUMMARY-
* Set of value showing weather the validation summary
displayed.
10. TIMER
The timer (tick) is a group of numbers.
Once the numbers are correctly entered and the
“execute” button pressed , the timer reset to 108.00.
11. ANY 10 CONTROLS
LABEL
TEXT BOX
CHECK BOX
DROP DOWN LIST
RADIO BUTTON
IMAGE
IMAGE BUTTON
LIST BOX
MULTI VIEW
HYPERLINK
13. TEXT BOX
Windows forms are text boxes are use to get input from
the user to display.
The text box control is generally user for editable it
make read only text boxes can display multiple line.
14. CHECK BOX
Check boxes are used when you want to selected one -
and just one-option from a set of alternative.
15. DROP DOWN LIST
A user interface control graphical user interface
element similar to a list box which allows the user to
choose one value from a list.
16. RADIO BUTTON
Radio button means including related links.
Radio buttons are commonly used when only one
option is selectable.
17. IMAGE
An image that is produced by a camera , artist , mirror
etc.
An image is an artifact that record s visual perception.
18. IMAGE BUTTON
Image button control that display an image. This
control is specify used full.
When you want to display an image that response to
various action.
19. LIST BOX
The list box control is used to create a single - or
multi – selection drop down list. Each selectable item
in a list box control is defined by a list item element.
20. MULTIVIEW
Multi view control help us to create different views in
the same page and display the view as user clicks the
links.
21. HYPERLINK
The clickable links in text or graphics on a web page
that takes you to another page , or whole other sites.