ADO.NET Database access in.NET style!. Question 1 ADO is an acronym for A. Another Dang Object B. Asynchronous Data Object C. Active Disk Object D. ActiveX.

Slides:



Advertisements
Similar presentations
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Advertisements

.NET C RYSTAL R EPORTS …Vishal Kumar.. I NTRODUCTION T O C RYSTAL REPORT :- For creating interactive reports that can be integrated into a wide range.
Chapter 12: Using ADO.NET 2.0 Programming with Microsoft Visual Basic 2005, Third Edition.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 25.
The ADO Data Control. Universal Data Access Open Database Connectivity (ODBC) –standard for accessing data in databases OLE-DB –allows access to data.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Using ADO.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Processing Applications Chapter Seven DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
Chapter 14 Database Connectivity and Web Technologies
Objective In this session we will discuss about : What is ADO. NET ?
Overview of Database Access in.Net Josh Bowen CIS 764-FS2008.
BY Zoher & Mahmoud. What is WAMP?  - Acronym for Windows/Apache/MySQL/PHP, Python, (and/or) PERL  - WAMP refers to a set of free open source applications,
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
CIS 764 – Presentation Somil Chandwani.  With Microsoft Data Access Components (MDAC), developers can connect to and use data from a wide variety of.
Rajeswari Indupuri Introduction to.NET Framework.
Some Basic Database Terminology
Database Systems: Design, Implementation, and Management Tenth Edition
ADO.NET. ADO.NET deals with accessing and manipulating databases.it comprises of many namespaces and classes to do so. ADO.NET provides access to datasources.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Using Visual Basic 6.0 to Create Web-Based Database Applications
DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005.
DATABASE PROGRAMMING Lecture on 16 – 05 – PREVIOUS LECTURE QUIZ: - Some students were very creative in transforming 2NF to 3NF. Excellent! - Some.
CHAPTER 14 USING RELATIONAL DATABASES TO PROVIDE OBJECT PERSISTENCE (ONLINE) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database.
Fundamentals of Database Chapter 7 Database Technologies.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
Web Services Week 8 Aims: –Using web services as front ends to databases Objectives: –Review of relational databases –Connecting to and querying databases.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
A Simple Introduction. What is ADO.net? First the word ADO stands for ActiveX Data Objects And it is an integral part of.Net Framework of Microsoft hence.
Needs for Accessing Database To make your web site more dynamic and maintainable, you can display information on your web pages that are retrieved from.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 David M. Kroenke’s Chapter Thirteen: XML and ADO.NET Part Four Database.
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
Introduction to Database Development Using Borland Data Providers 2128 Martin Rudy.
File Processing Concepts – Field – combination of 1 or more characters that is the smallest unit of data to be accessed – Record – group of related fields.
2-1 WEB DATABSE INTERFACING Colorado Technical University IT420.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Introduction to ADO Y.-H. Chen International College Ming-Chuan University Fall, 2004.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
ADO.NET. ADO.NET is a new, improved, and greatly expanded version of ADO that was developed for the Microsoft.NET initiative It incorporates all of the.
By Bearzx Dive Into Web Introduction To WEB
ADO.NET connections1 Connecting to SQL Server and Oracle.
Copyright © Curt Hill Connectivity Communicating with the Database.
+ Connecting to the Web Chapter 7. + Chapter Objectives Understand and be able to set up Web database processing Learn the basic concepts of Extensible.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
ADO.NET Architecture MIS3502: Application Integration and Evaluation David Schuff Adapted from material by Arnold Kurtz, David.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
Module 4 Introduction ADO.NET.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
Introduction Because database applications today reside in a complicated environment, various standards have been developed for accessing database servers.
DATABASE SYSTEM VB LINK TO MS-SQL. 2 Visual ProgrammingChapter 6 Select Project -> Component.
ADO & Recordsets. ADO Description & History  ActiveX Data Objects  History  1991 ODBC  Data Access Objects (DAO) for VB developers (JET)  Remote.
Data Access Methodologies: When to choose what (ADO.NET, Entity Framework, WCF Data Services) Wriju Ghosh Lead Partner Consultant, Microsoft.
ADO .NET from. ADO .NET from “ADO .Net” Evolution/History of ADO.NET MICROSOFT .NET “ADO .Net” Evolution/History of ADO.NET History: Most applications.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
ASP.NET Programming with C# and SQL Server First Edition
Data Access with ADO.NET
Introduction to ADO.NET
Database Connectivity and Web Technologies
Chapter 15 Database Connectivity and Web Technologies
ADO.NET Accessing Databases in VS.NET
Database Processing Applications
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 10 ADO.
Database Applications
Presentation transcript:

ADO.NET Database access in.NET style!

Question 1 ADO is an acronym for A. Another Dang Object B. Asynchronous Data Object C. Active Disk Object D. ActiveX Data Object

What is ADO Microsoft ADO (ActiveX Data Objects) is a Component object model object for accessing data sources. It provides a layer between programming languages and OLE DB (a means of accessing data stores, whether they be databases or otherwise, in a uniform manner), which allows a developer to write programs which access data, without knowing how the database is implemented. You must be aware of your database for connection only. No knowledge of SQL is required to access a database when using ADO, although one can use ADO to execute arbitrary SQL commands. The disadvantage of this is that this introduces a dependency upon the database.Component object model programming languagesOLE DBdatabases SQL It is positioned as a successor to Microsoft's earlier object layers for accessing data sources, including RDO (Remote Data Objects) and DAO (Data Access Objects). ADO was introduced by Microsoft in the winter of 1996.RDO DAO Wikipedia.org (

What is ADO.NET ADO.NET (or the new ActiveX Data Objects technology) is the primary relational data access model for Microsoft.NET-based applications. It may be used to access data sources for which there is a specific.NET Provider, or, via a.NET Bridge Provider, for which there is a specific OLE DB Provider, ODBC Driver, or JDBC Driver. ADO.NET is sometimes considered an evolution of ADO technology, but it is important to note that some major changes were made between the two.ActiveX Data Objectsdata accessMicrosoft.NETOLE DBODBCJDBC ADO - Wikipedia.org (

Question 2 A WIMP is A. A person unwilling to take a stand on an issue B. Eric Brown in a previous life C. A MS-Windows centric web application model D. Darl McBride, President and CEO, The SCO Group

Where does it all belong? AMP/WAMP/LAMP {0,Windows,Linux}, Apache, MySQL, {PHP, Python, Perl} WIMSA Windows, IIS, MS-SQL, ASP/ADO WIMP Windows, IIS, MySQL, {PHP, Python, Perl} Further proof that Computer Scientists use way too many acronyms!

The Big Picture As true with any type of database programming, web applications need a middle layer to detach the application from the database Some believe it is desirous to have an all-encompassing object to handle this middleware function Enter ADO.NET …

Question 3 Which of the following are the 2 primary components of the ADO Object Model? A. DataGrid B. Data Provider C. DataResultGrid D. DataSet

ADO.NET Parts From Programming ASP.NET, 3rd Edition By Dan Hurwitz, Jesse LibertyDan HurwitzJesse Liberty

DataSet Methods Method Type Description AcceptChangesvoidAccepts all the changes made since loaded or since last time AcceptChanges was called (see GetChanges). Clear voidClears the dataset of any data. GetChangesDataSetReturns a copy of the dataset containing all the changes made since loaded or since AcceptChanges was called. GetXMLstringReturns the XML representation of the data in the dataset. GetXMLSchemastringReturns the XSD schema for the XML representation of the data in the dataset. MergevoidMerges the data in this dataset with another dataset. Overloaded. ReadXML XmlReadMode Reads an XML schema and data into the dataset. Overloaded.

DataSet Methods (cont.) Method Type Description ReadXMLSchema voidReads an XML schema into the dataset. RejectChangesvoidRolls back to the state since last AcceptChanges (see AcceptChanges). WriteXMLvoidWrites out the XML schema and data from the dataset. Overloaded. WriteXMLSchema voidWrites the structure of the dataset as an XML schema. Overloaded.

Example Code

Questions OK, if that is all of the questions, I have some.

Quiz 1. ADO is an acronym for ? 2. A WIMP is ________________ ? 3. Name the 2 major components of the ADO Object Model. 4. (True/False) An ADO object cannot write XML representations.