ASP and Database Connectivity

Slides:



Advertisements
Similar presentations
Server Side Programming ASP1 Server Side Programming Database Integration Peter O’Grady.
Advertisements

Marrying HTML and Databases using Active Server Pages JJ Cadiz.
Session 6 Server-side programming - ASP. An ASP page is an HTML page interspersed with server-side code. The.ASP extension instead of.HTM denotes server-side.
ASP Application Development Session 3. Topics Covered Using SQL Statements for: –Inserting a tuple –Deleting a tuple –Updating a tuple Using the RecordSet.
Project 1 Assignment Building a mini-database for CCI in UNCC which includes entity sets: departments (CS,SIS, bioinformatics), faculties, courses given.
1 Classic ASP vs. ASP.NET Technical Information and Market Adoption Lance Welker University of San Diego Dr. Rebman MSIT 526 December 20, 2005.
CVEV 118/698 Active Server Pages Lecture 3 Prof. Mounir Mabsout Elsa Sulukdjian Walid El Asmar.
1 Active Server Pages Active Server Pages (ASPs) are Web pages ASP = server-side scripts + HTML The appearance of an Active Server Page depends on who.
Introduction to Active Server Pages
4/8/99 C. Edward Chow Page 1 Active Server Page It is a server-side scripting environment for creating dynamic content. ASP are files with.asp extension,
Three tier development example: our class roster database Using ASP Using Zoho Creator.
Dynamic Web Sites DECO 3001 Tutorial 6 – Form Presented by Ji Soo Yoon 30 April 2004 Slides adopted from
Robofest 2001 Online Management System Jim Needham MCS 4833/01 Senior Project Dr. Chan-Jin Chung, Ph.D.
CS 898N Advanced World Wide Web Technologies Lecture 1: Introduction Chin-Chih Chang
4/8/99 C. Edward Chow Page 1 Internet Services Manager Click Start | Programs | Administrative Tools | Internet Services Manager.
Master Detail Page Set Enabling Users to See More Detailed Data.
2/22/00J. Alberto Espinosa -- CMU/GSIA MIS Dynamic HTML Using Active Server Pages (ASP) Alberto Espinosa MIS
Active Server Pages Points of Interest Chapters 1-4.
IS 4506 Database Connectivity.  Overview Two and Three-Tier C/S Architecture ASP Database Connection ODBC - Connection to DBMS Overview of transaction.
CS 2340: Programming in VB Instructor: Dr. Qi Yang Office: 213 Ullrich Phone: YangQ 1.
Teaching With The Internet- Teacher’s View July 15th, 2003 Patrick G. Paulson WSU Business Administration Assistant Professor of MIS.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
MSSQL & ASP. Client-Server Relationship Client-Server Relationship HTML Basics HTML Basics Scripting Basics Scripting Basics Examples Examples.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
FrontPage 2000 Web Page Database Connectivity. Client /Server Architecture Database Server PCs Middleware.
Module 11 : Backup and Restore Jong S. Bok
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Server Side Programming ASP1 Server Side Programming Database Integration (cont.) Internet Systems Design.
Creating a Survey Using Dreamweaver’s Record Insertion Form Wizard.
XML and Database Interface Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University ODBC JDBC ADO DSO.
Mark Dixon 1 22 – Web applications: Writing data to Databases using ASP.Net.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Internet Programming ASP Sara Shahzad Dept. of Computer Science UOP.
Software for Translators Barcelona, January 2002.
Plant Accession Application Maintenance Manual. Accession Application Website Environment Overview WinHost.com ASP Pages VBScript Procs Constants Style.
How to Connect to Database ODBC (Open Database Connectivity) ADO (ActiveX Data Object) ASP Code To Connect to Database Recordset Object Navigating through.
Swiss Federal Institute of Technology 1 Active Server Pages (ASP) n The simplest example: Additionally ASP may contain code (scripts, ActiveX controls)
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
IS2802 Introduction to Multimedia Applications for Business Lecture 1: Introduction to IS2802 Rob Gleasure
Paging Through a Data Table Creating a Navigation Bar Using the Recordset Navigation Bar Server Behavior.
Directmoving® Planner Georgia Institute of Technology MGT 6051 – Database Management Systems Database Project Lin Gui - Karim El-Khazen - Philsou Lee Xiaoting.
Muneera AL-Whaibi.  Computer based education is very well received by students ◦ Wanted more of that type of activity ◦ Students seemed to remember that.
Server Side Programming ASP1 Server Side Programming.
Forms - Populating radio buttons with info from a database Topping 1 > Extra Cheese.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Collegiate Times Grades James O’Hara Hang Lin Client: Alex Koma, managing editor, Collegiate Times Blacksburg March 4, 2014 Virginia Tech CS 4624.
CodePainter Revolution Trainer Course Max Vizzini RunTime Framework.
January 27, 2001Database Tutorial1 Using a Database in ASP.
DATABASE SYSTEM VB LINK TO MS-SQL. 2 Visual ProgrammingChapter 6 Select Project -> Component.
E-commerce Foundations By Dr. Gabriel. Using 3-Tier/N-Tier Architecture The presentation tier The business tier The data tier.
Using databases ActiveX Data Objects (ADO) Connecting to a database Reading data from a database Inserting, updating and deleting records Using databases.
Web based Documentation Distribution Tools: MSAccess database (DSN) DreamWeaver Ultradev Microsoft Image Composer Clicking on the document will open an.
 Lecture  Website language: ASP.net  Book name Beginning ASP.NET 4 in C# and VB 2.
INT213 Active Server Pages using Visual Basic Scripting.
Web-based Software Development - An introduction
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Click to add text Simple sentence containing the targeted word.
Active Server Pages Computer Science 40S.
Displaying a Data Table
CO6025 Advanced Programming
Department of Computer Science, Florida State University
HW4 VB .Net Student Database Project Due COB Wednesday 18 December
Quick Review.
CS 456 Interactive Software.
4th Reflection Paper “What have I learned”
Grab a calculator and a highlighter Complete the following:
Straight Lines Objectives:
ASP Database Operations
Presentation transcript:

ASP and Database Connectivity Masters Project CS 490

Creating an ASP Page database connection You do need: Visual Basic scripting knowledge a basic text editor <% to begin the Vb Script %> to begin the Vb Script

Step 1: The variables <% Dim sql Dim oRS Dim oConn, sConnString

Step 2: The connection type Set oConn = Server.CreateObject("ADODB.Connection")

Step 3: The driver used sConnString = "DRIVER={Microsoft Access Driver (*.mdb)};" & _ "DBQ=" & Server.MapPath("\murf\db\neiu.mdb") & ";"

Step 4: Open the connection oConn.Open(sConnString)

Step 4: SQL select sql = "select Course, Grade, Semester, Year from Classes"

Step 4: execute the connection Set oRS = oConn.Execute(sql) %>

Comments Use the internet for resources, there are many sites for examples. Draw a plan of your database on paper before you begin. Make backups of pages prior to changes. Once a working example exists, use it as a starting point for other pages.