Lesson 12 Adding Validation To The Movie Database.

Slides:



Advertisements
Similar presentations
DREAMWEAVER Welcome to our website!
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Using a database to organize information
Microsoft FrontPage Monday January 28, The Basic FrontPage Setup.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you to get and stay organized?
Creating and Editing a Web Page Using Inline Styles
Microsoft Visual Basic 2012 CHAPTER NINE Creating Web Applications.
ASP.NET Validating user input Validating user input on the client and/or server side 1ASP.NET Validating User Input.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Word Web Feature Creating Web Pages Using Word.
Copyright 2003 By NTREIS, Inc. Welcome to NTREIS Listings “ADD/EDIT” PowerPoint Presentation.
Education Google Calendar (GCal) English. Education Upon completion of this course, you will be able to:  Navigate the GCal interface  Search your calendar.
Chapter 9 – Validating User Input Dr. Stephanos Mavromoustakos.
Montgomery Parks, M-NCPPC Volunteer Services Office  Log Your Hours Online  View & Edit Your Volunteer Profile Hi and thanks for volunteering with Montgomery.
MS FrontPage 2: Developing a web site for the Sunny Morning Products Yong Choi CSU Bakersfield.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
Website Design CLA – Transportation. Defining a Site Select: Site – New - Site Click Next.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Module 7: Validating User Input.
Chapter 3 Using Validation Controls. What is a Validation Control? A control that validates the value in another control Renders as an HTML tag with an.
1 Web-Enabled Decision Support Systems Introduction to ASP.NET Prof. Name Position (123) University Name.
Telerik Software Academy ASP.NET Web Forms Data Validation, Data Validators, Validation Groups Telerik Software Academy
Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital Media.
Creating a Web Site to Gather Data and Conduct Research.
Making a database Karyl Slim 11IOTA. In today’s lesson, we started to create a database that would contain details of endangered species. To create the.
ASP.Net, Web Forms and Web Controls 1 Outline Web Controls Text and Graphics Controls AdRotator Control Validation Controls.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Microsoft Visual Basic 2008 CHAPTER SEVEN Creating Web Applications.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
AUC Technologies Projects Consulting, Development, Mentoring, and Training Company ASP.NET Validation Control Presented By : Muhammad Atif Hussain Deputy.
VALIDATION CONTROLS.  Validation Controls are primarily used to validate, or verify the data entered by user into a web form.  Validation controls attempt.
V 1.0Slide 1 Staff - Training Information Click “Add” button to add a training record.
By ALFREDO C. MEDRANO Planning Officer III. What is a website? A website is a collection of web pages (documents that are accessed through the Internet).
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
Session 6: Validating User Input. Outline Overview of User Input Validation Client-Side and Server-Side Validation ASP.NET Validation Controls Using Validation.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 User Input Validating.
Double –Click on the Netscape Icon on your desktop The following are a series of steps to help you get started with Netscape Composer.
By ALFREDO C. MEDRANO Planning Officer III. What is a website? A website is a collection of web pages (documents that are accessed through the Internet).
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 12 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 12 Accessing.
® IBM Software Group © 2006 IBM Corporation JSF Rich Text Area Component This Learning Module describes the use of the JSF Rich Text Area component – for.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Vijayalakshmi G M Validation Controls.
Creating and Editing a Web Page
1 After completing this lesson, you will be able to: Create a form using AutoForm. Create a form using the Form Wizard. Add controls to a form. Modify.
LOGIN PAGE Login Page Support CRM:
Creating and Editing a Web Page Using Inline Styles
Creating Web Pages with Links, Images, and Embedded Style Sheets
Using Personalization Creating user profiles Retrieving, changing, and saving profile properties Using validation controls Using the Forms Designer.
Validation Controls Assist your users with providing the correct type of input for your application Assist your users with providing the correct type of.
Y.-H. Chen International College Ming-Chuan University Fall, 2004
Working with your database
Loading a File to the UST Web Server
Creating Web Applications
Unit 27 - Web Server Scripting
MODULE 7 Microsoft Access 2010
Lesson Objectives Lesson Outcomes
Cheat Sheet CSCI 100 JW Ryder
Integrating JavaScript and HTML
12/9/2018 Session 9.1 Calendar and Validation Controls Using Sessions
JavaScript Form Validation
Cheat Sheet CSCI 100 JW Ryder
PART 2.
Adding Record To Your Database
Searching Your Database
Guidelines for Microsoft® Office 2013
Working with your database
MIS 3200 – Unit 2.2 Outline What’s the problem with bad data?
Presentation transcript:

Lesson 12 Adding Validation To The Movie Database

Show All Data Create a new ASP.Net File and call it ShowAllData Create a new ASP.Net File and call it ShowAllData Go to data and drag the JamesBondSeries Table to the workspace Go to data and drag the JamesBondSeries Table to the workspace Save the File Save the File Press F5 to view and then close Press F5 to view and then close

Adding A Hyperlink To Your Page File Open the AddRecord.aspx file File Open the AddRecord.aspx file Drag a Hyperlink and place it to the right of the Button Drag a Hyperlink and place it to the right of the Button In the Hyperlink Properties, go to Navigate Url and type ShowAllData.aspx In the Hyperlink Properties, go to Navigate Url and type ShowAllData.aspx Go to Text and type View Data Go to Text and type View Data Press F5 to view and click on View Data Press F5 to view and click on View Data

Adding color to your page Go to HTML view Go to HTML view Copy this code to add a background color and give your text color: Copy this code to add a background color and give your text color: Press F5 to view Press F5 to view

Validating Your Data Web Matrix has some great features to make sure that users are going to enter the correct data into your database Web Matrix has some great features to make sure that users are going to enter the correct data into your database These are called Validator Controls These are called Validator Controls There are several to choose from There are several to choose from

Validator Controls RequiredField Validator- used to check to make sure your user doesn’t leave a field blank RequiredField Validator- used to check to make sure your user doesn’t leave a field blank RegularExpressionValidator- best used to check for correct addresses, internet url, phone numbers and zip codes RegularExpressionValidator- best used to check for correct addresses, internet url, phone numbers and zip codes RangeValidatgor- best used with dates and dates where you can select a minimum and maximum RangeValidatgor- best used with dates and dates where you can select a minimum and maximum

More Validator Controls CompareValidator- this allows you to compare a value with an operator like =,>,,< CustomValidator- this control can compare what the user is entering with the type of fields that you have in your database CustomValidator- this control can compare what the user is entering with the type of fields that you have in your database

Validating Your Record Input Open the AddRecords.aspx file Open the AddRecords.aspx file Drag a RequiredFieldValidator and place aside of Enter Movie Name Drag a RequiredFieldValidator and place aside of Enter Movie Name Go to the properties of the RequiredFieldValidator and scroll down to ControlToValidate and type TextBox1 Go to the properties of the RequiredFieldValidator and scroll down to ControlToValidate and type TextBox1 Go to ErrorMessage and type Enter Movie Name Go to ErrorMessage and type Enter Movie Name Press F5 and click the button to view how the RequiredField Validator works Press F5 and click the button to view how the RequiredField Validator works

Add More Validators Drag a RequiredFieldValidator and place aside of Enter Actor Name Drag a RequiredFieldValidator and place aside of Enter Actor Name Go to the properties of the RequiredFieldValidator and scroll down to ControlToValidate and type TextBox2 Go to the properties of the RequiredFieldValidator and scroll down to ControlToValidate and type TextBox2 Go to ErrorMessage and type Enter Actor Name Go to ErrorMessage and type Enter Actor Name

More Validators Repeat these instructions for the Actress and Director Fields Repeat these instructions for the Actress and Director Fields Press F5 to view and click the button Press F5 to view and click the button