Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

DB2 9 Application Development exam 733 prep, Part 6: .NET programming

DB2 interfaces seamlessly with the .NET framework

Peter He (peterzh@ca.ibm.com), DB2 Consultant, IBM
Peter He
Peter He is a DB2 consultant with the DB2 Business Partner Enablement Team at the IBM Toronto Lab. Peter has worked extensively with DB2 and WebSphere technologies. He provides DB2 application design and implementation consulting to ISVs. He holds a Ph.D. from York University and is a DB2 Certified Solutions Expert.

Summary:  Learn about writing .NET applications that interface with IBM® DB2®. Get an introduction to the ADO.NET object model and see how to execute SQL statements with ADO.NET. This is the sixth in a series of nine tutorials that you can use to help prepare for the IBM DB2 9 Family Application Development certification exam (Exam 733).

View more content in this series

Date:  01 Mar 2007
Level:  Intermediate PDF:  A4 and Letter (76 KB | 22 pages)Get Adobe® Reader®

Activity:  7468 views
Comments:  

Before you start

About this series

The IBM Certified Application Developer certification confirms to others that you are an intermediate- or advanced-level IBM DB2 for Linux™, UNIX®, and Windows® application developer and shows that you have strong skills in all common programming tasks as well as embedded SQL programming, ODBC/CLI programming, .NET programming, or Java™ programming.

This series of nine free tutorials is designed to help you prepare for the DB2 9 Application Development for Linux, UNIX, and Windows certification exam (Exam 733). Each tutorial includes a link to a free DB2 9 for Linux, UNIX, and Windows trial download. These tutorials provide a solid base for each section of the exam. However, you should not rely on these tutorials as your only preparation for the exam.


What is this tutorial about?

In this tutorial, you will learn about writing .NET applications that interface with IBM DB2. You will see how to:

  • Connect to a DB2 database from a .NET application
  • Use ADO.NET to read and update data in a DB2 database
  • Use ADO.NET to work with results
  • Build an ADO.NET application
  • Troubleshoot a DB2 .NET application

The material in this tutorial covers the objectives in Section 6 of the DB2 9 Application Developer Certification exam (Exam 733), entitled ".NET Programming."


Who should take this tutorial?

To take the DB2 9 Family Application Development exam, you must have already passed the DB2 9 Family Fundamentals exam (Exam 730). You can use the DB2 9 Family Fundamentals tutorial series to prepare for that test. It is a very popular tutorial series that has helped many people understand the fundamentals of the DB2 family of products.

In addition to this DB2 background, you should also have basic knowledge of SQL and the .NET platform before you begin this tutorial.

This tutorial is one of the tools that can help you prepare for Exam 733. You should also review the Resources section at the end of this tutorial for more information.


System requirements

You do not need a copy of DB2 Universal Database to complete this tutorial. However, you can download a free trial version of DB2 9 Enterprise Edition if you wish.

If you plan to develop .NET applications for DB2, or you plan to try out this tutorial's sample code yourself, you need to complete the following tasks:

  • Install DB2 9 for Linux, UNIX, and Windows
  • Create the sample database by running db2sampl from the DB2 CLP. The sample code in this article has been written to work with this database.
  • Install Microsoft® Visual Studio .NET 2003 or later

1 of 9 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=199336
TutorialTitle=DB2 9 Application Development exam 733 prep, Part 6: .NET programming
publish-date=03012007
author1-email=peterzh@ca.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.