DATABASE SYSTEM VB LINK TO MS-SQL. 2 Visual ProgrammingChapter 6 Select Project -> Component.

Slides:



Advertisements
Similar presentations
Basics of Database Programming with VB6
Advertisements

Data Base. Objective Become familiar with database terminology. Create a project to display data for a single database table. Use a DataGrid control.
Connect to Excel Spreadsheet with an OLE DB Connection.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
CIS 338: Using ADO (ActiveX Data Objects) [largely replaced by adonet.vb] Dr. Ralph D. Westfall April, 2003.
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
Integrating Access with the Web and with Other Programs.
The ADO Data Control. Universal Data Access Open Database Connectivity (ODBC) –standard for accessing data in databases OLE-DB –allows access to data.
CIS 338: Printing Dr. Ralph D. Westfall February, 2003.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Visual Basic Database Access BICS546. Microsoft Universal Data Access OLE DB: The OLE database protocol –Allows a program to access information in any.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab10 Interacting with Data (Database Management)
Using the Data Access Controls: DAO & ADO Presented by Victor Matos.
Database Programming (using ADO) Universal Data Access – Microsoft strategy for providing access to information across the enterprise. – UDA provides high-performance.
Microsoft Access Ervin Ha.
1 Working with MS SQL Server II. 2 The sqlcmd Utility Command line utility for MS SQL Server databases. Previous version called osql Available on classroom.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Advanced Integration - Grid Control In this presentation… –The enhanced Grid control. –Application integration. –New properties and events. –Connecting.
Copyright © 2001 by Wiley. All rights reserved. Chapter 10: Advanced Database Operations Revising Vintage Videos Setting RecordSource at run time DBGrid.
McGraw-Hill/Irwin Programming in Visual Basic 6.0 © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Update Edition Chapter 11 Accessing Database.
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.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Examining.
Database Management School of Business Eastern Illinois University © Abdou Illia, Fall 2002 (Week 16, Monday 12/09/2002)
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Faculty of Electronic Engineering 1 Database Access API’s Aleksandar Stanimirović Leonid Stoimenov Aleksandar Milosavljević.
Copyright 2008 Judith A Copeland - Accessing The Database By Judi Copeland.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
Module 9: Accessing Relational Data Using Microsoft Visual Studio.NET.
What is database?  Any Method for access info into Application from DataBase?  ODBC is standard for Accessing Data.  Problem with ODBC:  Information.
Tutorial 91 Databases A database is an organized collection of related information stored in a file on a disk A database allows companies to store information.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
1 Database Systems Introduction to Microsoft Access Part 2.
ADO.NET Objects – Data Providers Dr. Ron Eaglin. Requirements Visual Studio 2005 Microsoft SQL Server 2000 or 2005 –Adventure Works Database Installed.
Ch. 101 Database Management An Introduction to Databases.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
AVCE ICT – Unit 7 - Programming Session 16 – Database and VB.
Lab 8 Data Access Using Microsoft ActiveX Data Object (ADO)
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.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
VB.NET and Databases. ADO.NET VB.Net allows you many ways to connect to a database. The technology used to interact with a database or data source is.
Creating SQL Database file And Displaying a Database Table in a DataGridView.
Data Control In this presentation… –databases supported –inserting a data control –data control properties –using the data control.
 2 Data Object Library approaches ◦ DAO (Data Access Objects)  Original access strategy (up to VB6)  Closely linked to MS Access ◦ ADO (ActiveX Data.
How To Start a SQL server Connecting to SQL Server.
Visual Basic Database Access
Y.-H. Chen International College Ming-Chuan University Fall, 2004
Creating Data Base & Sql Data Source
VB 2010 Pertemuan 10.
Localizing Datasources with Alchemy Catalyst
Basic Database Concepts
TestPage and Performance Test
MSSQL Server management
Part 1 of 2 Creating SQL Database and Binding to GridView
Microsoft Office Access 2003
MICROSOFT VISUAL BASIC
Please see speaker notes for additional information!
ربط الفيجوال بيسك VB مع قواعد البيانات
HANDS-ON TUTORIAL 1 By ARLENE N. BARATANG.
VISUAL BASIC INTRODUCTION TO DATA CONNECTIVITY.
Microsoft Office Access 2003
Microsoft Office Access 2003
Accessing Databases with ADO.NET, Handling Exceptions, and Printing
Creating Data Base & Sql Data Source
These slides are for reference only. They are not "lecture notes"
Working With Databases
Working with your database
Introduction to Visual Basic 2010
Presentation transcript:

DATABASE SYSTEM VB LINK TO MS-SQL

2 Visual ProgrammingChapter 6 Select Project -> Component

3 Select Microsoft ADO Data Control 6.0 (OLEDB). Then click command button Apply and OK.

4 The Adodc control/object will appear at the ToolBox

5 Select the Adodc. Then draw the object on the form. Change the Property Name to adoPatient. Change Property Caption to Patient Record

6 Select the ConnectionString and Property Pages will appear.

7 Select Use Connection String and click command button Build. The Data Link Properties will appear. Then select Microsoft OLE DB Provider For SQL Server.

8 Select or enter Server name then Select the Database on the server

9 Select the RecordSource – Patient

10 Select Data Source – adoPatient Then Select Data Field – Patient ID. Repeat the same process for the other fields – IC Number, Address and Tel No.