layers asp.net ppt
TRANSCRIPT
VALIDATION & TIMER IN .NET & ANY 10 CONTROLS
PRESNTED BY:BRIJESH TIWARI
BCA 6 SEM
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.
TYPES OF VALIDATOR
COMPARE VALIDATORCUSTOM VALIDATORRANGE VALIDATORREGULAR EXPRESSION VALIDATORREQUIRED FIELD VALIDATORVALIDATOR SUMMARY
COMPARE VALIDATORThe validator is used to compare the value
entered by a user .
PROPERTY-* Control to input contain to validate.
CUSTOM VALIDATORThe 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.
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.
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.
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.
VALIDATOR SUMMARYThe 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.
TIMERThe timer (tick) is a group of numbers.Once the numbers are correctly entered and
the “execute” button pressed , the timer reset to 108.00.
ANY 10 CONTROLSLABELTEXT BOXCHECK BOXDROP DOWN LISTRADIO BUTTONIMAGEIMAGE BUTTONLIST BOXMULTI VIEWHYPERLINK
LABEL
Labels usually are use to displaying text that can not be
edited by the user.
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.
CHECK BOX
Check boxes are used when you want to selected one - and just one-option from a set of alternative.
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.
RADIO BUTTON
Radio button means including related links.Radio buttons are commonly used when only
one option is selectable.
IMAGE
An image that is produced by a camera , artist , mirror etc.
An image is an artifact that record s visual perception.
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.
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.
MULTIVIEW
Multi view control help us to create different views in the same page and display the view as user clicks the links.
HYPERLINK
The clickable links in text or graphics on a web page that takes you to another page , or whole other sites.
THANK YOU