Go to PC1.

Slides:



Advertisements
Similar presentations
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Advertisements

Simple Java Forms Dr. Robert L. Probert S.I.T.E., University of Ottawa.
Hacking Web Servers April 15, 2010 MIS 4600 – MBA © Abdou Illia.
CIS 375—Web App Dev II ADO I. 2 Introduction ADO (________ Data Objects) is a Microsoft technology for accessing data in a database. ADO is automatically.
Mark Dixon Page 1 17 – Persistent data storage: relational databases and ADO.
Mark Dixon, SoCCE SOFT 131Page 1 24 – Web applications: Writing data to Databases using ASP.
Mark Dixon, SoCCE SOFT 131Page 1 23 – Modular Design in ASP.
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.
1 ASP History/Components  Active Server History:  Introduced July 1996  Bundled with Internet Information Server (IIS) 3,0 March of 1997  ASP 2.0 introduced.
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,
Mark Dixon, SoCCE SOFT 131Page 1 23 – Entity-relationship diagrams.
Mark Dixon, SoCCE SOFT 131Page 1 22 – Web applications: Writing data to Databases using ASP.
Connecting a Database to a Web Application Professor Stephen K. Kwan.
Introduction to HTML II Shih-Heng Chin. Preface Structure of a HTML File Elements used frequently Tables.
Mark Dixon Page 1 18 – Persistent data storage: relational databases and ADO.
Mark Dixon Page 1 20 – Modular Design in ASP. Mark Dixon Page 2 Session Aims & Objectives Aims –Highlight modular design techniques in ASP Objectives,
CSE 190: Internet E-Commerce Lecture 13: Database code.
Mark Dixon, SoCCE SOFT 131Page 1 18 – Structured Query Language.
DT221/3 Internet Application Development Active Server Pages & Database Connection.
ASP & ADO. Connection Object An implicit connection is created when we open a recordset without a connection object. –rs.open “Customer”, "DSN = Sales”
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
1 Lecture 3 Web Technologies Part 2. 2 l HTML l XHTML l CSS l XML l JavaScript l VBSCRIPT DOM l DHTML l AJAX l E4X l WMLScript l SQL Web Technologies.
ActiveX Data Object (ADO) in JavaScript J.L.Wang, Yen-Cheng Chen Dept. of Infomation Management Ming-Chuan University Jan
Database 20/2/12 Connection. 
2/25: Using Microsoft Excel
LOGO Server. Contents Introduction 1 Problem Definition 2 Proposed Solution 3 Architecture Diagram 4 Server Technology 5 Hardware and Software.
Mark Dixon Page 1 23 – Web applications: Writing data to Databases using ASP.
Lecture Note 10: Simple Database Techniques. Introduction –Database System –Access, SQL Server and others. –Microsoft Access - Interacting with this databases.
10/3: Using Microsoft Excel
How to Connect to Database ODBC (Open Database Connectivity) ADO (ActiveX Data Object) ASP Code To Connect to Database Recordset Object Navigating through.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything › Text › Lists › Other tables › Pictures › …
Review ASP Server controls: Labels, Buttons, Textboxes HTML tables Images and Hyperlinks Validator controls DropDownList ViewState variables Session variables.
Mark Dixon, SoCCE SOFT 131Page 1 23 – Web applications: Databases & ASP.
Lab 8 Data Access Using Microsoft ActiveX Data Object (ADO)
Database Connectivity What is ADO. What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a Microsoft Active-X component.
2314 – Programming Language Concepts Introduction to ADO.NET.
Mark Dixon, SoCCE SOFT 131Page 1 12 – Databases: Structured Query Language.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 6: Accessing a database with PHP Rob Gleasure robgleasure.com.
What is AJAX ? Asynchronous Javascript and XML. Not a stand-alone language or technology. It is a technique that combines a set of known technologies in.
Labtest.ASP Notes. INSERT STATUS INSERT STATUS
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Ajax SUBMITTED BY NITIN RAMANI C.S.E 3 rd Y 5 th S R.N CS SUBMITTED TO PRO. PUSHPARAJ PATEL SIR.
Style Sheets.
Applying CSS to Tables Stylish Tables.
Even More HTML Richard Fisher.
18 – Databases: Structured Query Language
Week 6 Creating Tables using HTML.
Lecture Tables.
IS1500: Introduction to Web Development
Introduction to HTML.
PHP Arrays Functions.
HTML Tables CS 1150 Spring 2017.
HTML Layout and Sub Meun
PHP: Output Formatting
TABLES.
Mr. Rouda’s CSCI 101 sections
Table CSS Create a new CSS called tablestyle.CSS Green Background
ASP.
مقدمة عن الإنترنت وفهم لغة HTML
Chapter 6 Displaying Your Products
IS 4506 Interactive Clients & Servers
TABLES IN HTML No, not that kind of table!! THIS KIND!!
Chapter 10 ASP and Data Store Access
17 – Persistent data storage: relational databases and ADO
CS205 Tables & Forms © 2012 D. J. Foreman.
A Title Link 1 Some text A picture Link 2 Link 3 Link 4   Link 1 | Link 2 | Link 3 | Link 4.
CS205 Tables & Forms © 2008 D. J. Foreman.
ASP Database Operations
CS205 Tables & Forms © 2004 D. J. Foreman.
Presentation transcript:

Go to PC1

? www.ksu.sa FTP Server

User Name : abc Password : aaBB11&& FTP User User Name : abc Password : aaBB11&&

Go to www.ksu.sa

aaBB11&&

Go to PC1

Go to www.ksu.sa

open

? www.ksu.sa ASP Server

Go to PC1 or pc2

انشئ ملفاً باستخدام الدفتر يحوي الأوامر التالية: <html dir="rtl"> <body> <% response.write (" ASP أهلاً وسهلاً في عالم الـ ") %> </body> </html> خزن هذا الملف في مكان تعرفه وأعطه الاسم code_0.asp انشر الملف code_0.asp باستخدام حساب المستخدم abc على المخدّم www.ksu.sa

نتصفح هذه الصفحة من خلال أحد مستخدمي الشبكة وليكن مثلاً pc2

كيف نجعل المخدّم؟ www.ksu.sa ASP Server

نتأكد في المخدّم www.ksu.sa أن جميع خدمات ASP قد تم تنصيبها

Go to www.ksu.sa

Return back to pc2

نعاود ونتصفح الصفحة code_0.asp من خلال أحد المستخدمين فتكون النتيجة

ما هي قواعد البيانات التي يمكن ربطها مع اكواد الـ ASP قواعد البيانات MS- ACCESS قواعد البيانات SQL

كيف يتم ربط قاعدة بيانات MS-ACCESS في صفحات الأكواد المحمية .ASP

يقوم مستخدم الشبكة abc بإنشاء مجلد داخل حسابه باسم abhari يقوم مستخدم الشبكة abc بإنشاء قاعدة بيانات, باستخدام MS – ACCESS اسم قاعدة البيانات adel تحوي قاعدة البيانات هذه, جدولاً واحداً باسم student يحوي هذا الجدول الحقول التالية: Name Age care ضمن الشروط والمواصفات التالية:

يقوم المستخدم abc برفع قاعدة البيانات من مكان تخزينها الى موقع الاستضافة الخاصة به داخل المجلد المنشأ مسبقاً abhari

connect.asp يستخدم المفكرة لكتابة كود الـ ASP التالي, هذا الكود يمكن ربط قاعدة البيانات adel.mdb الموجودة في المجلد abhari على حساب مستخدم الشبكة abc connect.asp

<% dim conn set conn=server.createobject("ADODB.Connection") conn.provider="Microsoft.Jet.OLEDB.4.0" conn.open(server.MapPath("/abc/abhari/adel.mdb")) %>

يتم استدعاء البرنامج الأخير من خلال البرنامج التالي:

يتم استدعاء البرنامج الأخير من خلال البرنامج التالي: المسمى index.asp يرفع هذا البرنامج لمكان استضافة المستخدم abc ضمن المجلد abhari

<body> <!--#include file="connect.asp"--> <% set rs=server.createobject("ADOdb.recordset") rs.open "select * from student",conn %> <table border=1 width=304> <tr> <td width=100 align=center bgcolor=#FFFFCC> <font color=#800000 size=5>Name</font></td> <font color=#800000 size=5>Age</font></td> <font color=#800000 size=5>Car</font></td> </tr> </table> do while not rs.eof name =rs.FIELDS(0).VALUE age =rs.FIELDS(1).VALUE car =rs.FIELDS(2).VALUE <td width=100 align=center><% = name%></td> <td width=100 align=center><% = age%></td> <td width=100 align=center><% = car%></td> rs.MOVENEXT loop rs.close conn.close </body> </html>

وبناءً على ما سبق فإن المجلد abhari في موقع استضافة المستخدم abc يبدو كما يلي:

كيف يتم ربط قاعدة بيانات SQL في صفحات الأكواد المحمية .ASP