Hello Computer Science: Hello Visual Basic 2005: Database

Learn Visual Basic 2005 in 15 step-by-step lessons.

hello-world.com
Privacy
Policy

Site map

Hello-World

During the 13th week you will write a program to interact with a database. using the OleDbDataAdapter.
biblio.exe Save this file to your computer and unzip as c:/BIBLIO.MDB

1. Print and read the lesson. Follow all instructions as you go along. (Punch, staple, put in your binder.)

2. Watch the movie.

3. Write each of the programs in the lesson. To get the most out of these programs

  • Following the instructions, get the program to work.
  • Experiment with it: make little changes and see what happens, make sure you understand it.
  • Erase it - now try to write it without looking at your notes!

4. All of the programs from the lesson are in a zip file. Unzip all of the files to a directory created for this lesson.
Authors, Books, Biblio database
Compare the code in the programs to the ones you wrote.

5. Do the self test questions and check your answers.

6. Using the sample programs as a model, write a completely new program that uses the same techniques.

  • Indent each statement inside a block about 2 spaces. All of the statements should line up.
  • Use good variable names and comments: if you look at the program in a year, will you know what the program does?

Programming Exercise

 


Copyright © Hello World Publications. All rights reserved worldwide.

hello-world.com
Privacy
Policy

Site map

Hello-World