financial information management putting vb & sql to work stefano grazioli

Post on 03-Jan-2016

217 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Fin

anci

al In

form

ati

on

M

an

ag

em

en

t

Putting VB & SQLTo Work

Stefano Grazioli

Critical Thinking Still going strong VPN, then “cmd”, thenrunas /user:mcintire\MyUserName "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"

Easy meter

Fin

anci

al In

form

ati

on

M

an

ag

em

en

t

AccessingEnterprise Data

Using Excel & ADO

Where is my Data?

In a DBMS on the

network

In memoryDATASET

fast

Speed slow best fast Depends on bandwidth

Volume medium Small/medium medium Very large

Access easy easy difficult medium

Backup medium poor n/a excellent

Security poor Poor/medium excellent good

In a file

slow

Your local machine Server

slow

ADO.NET ActiveX Data Object MS Technology to manage

enterprise data Use ADO to run SQL queries on

remote servers, collect the results, and present them to the user.

Database Plumbing• Standard parts,

put together in standard ways are called architectures

• Standard parts are called ‘objects’

Software Objects

Software Objects An object is a bundle of data and ‘methods’ Object Classes and Object Instances

Class = code to build an instanceInstance = physical item running on your

machine Instances are built with the keyword new

Dim myDeskClock As DeskClock = new DeskClock()

Name, a variable Class name (type) keyword Method that creates the deskclock

ADO architecture

RemoteDataBase(financial

data)

Client (your program on your machine)

SQL Querystring

Connectionstring

SqlConnection

SqlAdapter

ListObject

DataSetDataTables

DataRows

DB Server

SqlCommand

On yourSpreadsheet

Fin

anci

al In

form

ati

on

M

an

ag

em

en

t

DEMO

Fin

anci

al In

form

ati

on

M

an

ag

em

en

t WINITWhat Is New

In Technology?

You do the talking Name, Major Learning objectives Things you like about the class Things that can be improved Attitude towards the Tournament

Fin

anci

al In

form

ati

on

M

an

ag

em

en

t HomeworkUsing ADO to Retrieve Financial Data

SUGGESTIONS

Make sure that you understand the ADO architecture diagram before coding.

top related