Searching Your Database

Slides:



Advertisements
Similar presentations
MS-Word XP Lesson 7.
Advertisements

Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
Oracle for Windows NT is required to run queries from the Banner database. Call the help desk at extension 4440 if you do not have this.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
PowerPoint Practice Exercise
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Integrating Access with the Web and with Other Programs.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Word Web Feature Creating Web Pages Using Word.
Pasewark & Pasewark 1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2007: Introductory.
MS-Access XP Lesson 5. Creating a Query with Expression Builder Eg. Consider the following table. Table Name: Overtime Fields & Data types: Emp No (Number),
Mastering Your Word Processing Skills
Chapter 3 Maintaining a Database
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Inserting Pictures and Symbols in Word documents There are many ways to insert pictures – these are the most common methods Copy and Paste Copy and paste.
Web Technologies Website Development Trade & Industrial Education
Analysing Data with Excel Importing Data from a Text File To import data from a text file: 1.Start Excel. 2.Click File, click New, click Workbook,
Website Development with Dreamweaver
Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T8 DECISION MAKING USING ACCESS.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
How to Setup MS Word for a Research Paper Steps and Procedures.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
A Step by Step Illustrated Tutorial to create a Curriculum Page using Netscape Composer. by Tom Love, Malone College Instructional Technology.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
How to Make a Power Point Presentation What to Do First  Open the Microsoft PowerPoint program by double clicking on it.  Create a new presentation.
1 Chapter 12 – Web Applications 12.1 Programming for the Web, Part I 12.2 Programming for the Web, Part II 12.3 Using Databases in Web Programs.
Microsoft Publisher 2010 Chapter 7 Advanced Formatting and Merging Publications with Data.
Lesson 12 Adding Validation To The Movie Database.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
1 After completing this lesson, you will be able to: Change the format of a table. Sort records in a table. Find records in a table Use filters with a.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
How to create a PowerPoint By: Abby Haehn. How to Start Go to your Launchpad, located in your dock Click on the P You should get a format screen Choose.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 4 Working with Variables, Constants, Data Types, and Expressions.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
By: Susan Freeman Getting Started 1.Go to Start Programs Microsoft PowerPoint.
Module 4: Creating a Web Application with Web Forms
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 12 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 12 Accessing.
1 After completing this lesson, you will be able to: Get around the Internet with your browser. Connect to the Internet. Print Web pages. Save Web pages.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
Know your computer Make a Folder Copy from Word to Composer Format the Font Change the Alignment Format the Background Format the Colors Insert a Picture.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
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.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
PowerPoint Practice Exercise 1.Save this file on your H drive in Word folder as Practice. 2.Edit each slide according to the instructions provided in the.
SUBJECT : W W EB PAGE DESIGN MATTHAYOM 4 (G RADE 10) TERM 2 YEAR 2012.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
Integrating Office 2003 Applications and the World Wide Web
Working with your database
Incorporating Databases with ADO.NET
Access Project 8 Using Visual Basic for Applications (VBA) and Creating Multi-Page Forms.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms
Chapter 7 Advanced Formatting and Merging Publications with Data
Incorporating Databases with ADO.NET
Chapter 1 Editing a Photo
Chapter 7 Advanced Form Techniques
How to customize your Microsoft SharePoint Online website
Microsoft Official Academic Course, Access 2016
Microsoft Office Access 2003
Inserting Pictures and Symbols in Word documents
Microsoft Office Access 2003
Adding Record To Your Database
Lesson 4 Creating a page with Web Matrix
Insert a textbox To insert a new textbox, click on Insert on the top tool bar Look down the list and click on text box. Use your mouse to click once on.
PowerPoint Practice Exercise
Presentation transcript:

Searching Your Database Lesson 10 Searching Your Database

Dynamic Searches via a web page Searching a database is quite common when using a database The Code Builders once again will be used to create the necessary code you’ll need to make this happen Create a new ASP.Net file and call it FindActress

Select Code Builder Click on Code Left Click over Select Data Method and drag it over your workspace Click the down arrow to the right of Database: Select the Movies Database, click Ok

Construct A Select Query Click on the following: MovieName Actress Director

Where Clause Builder Click on Actress Locate Operator- Click the down arrow and select like Locate Filter- Type @search Click Ok

Here’s what you have

Test Query Click Next Click Test Query Type Jill St. John Does the Query work?

Creating A Method Type FindByActress to create this method Click Finish

Using FindByActress Method Click on Design View Type Bond Actresses on the workspace Drag a TextBox from the Web Control Toolbox and place it to the right of Bond Actresses Drag a button and place it to the right of your TextBox Drag a DataGrid and place it on the workspace Click on Layout from the Menu Bar and click on Absolute Position and move the DataGrid to the middle of your workspace

Finished Design View

Tying It All Together Double click the button to create a Click event This code will use the FindByActress method that was created so that when you click the button the user will type in the Bond Actress and the Movies Database will then locate that record and create the table on the web page

Type the code in white Sub Button1_Click(sender As Object, e As EventArgs) Dim sActress As String = TextBox1.Text DataGrid1.DataSource = FindByActress(sActress) DataGrid1.DataBind() End Sub

Read To Test? Click Save to save the file Press F5 and load the browser software to view Type Jill St. John in the Textbox and click the button

Modifying The Web Page Your page looks kind of boring so let’s dress it up with some changes. Click on the DataGrid Go to AutoFormat which is below the Property on the right bottom Select Colorful5 Change the Font to Georgia and the size to 5

More changes Highlight Find Actresses and change the font size to 5 and Go to Format and change the Foreground color to Red Click the button and look at the Properties Change the Fore Color to red and the Back Color to yellow Change the Text to Go Press F5 to see your changes

Change the colors if you don’t like them