Click here to Skip to main content
13,256,123 members (24,755 online)
Click here to Skip to main content
Articles » Database » Database » ADO.NET » Downloads


285 bookmarked
Posted 10 Jan 2006

ADO.NET for the Object-Oriented Programmer – Part One

, 19 Jan 2006
This article will show how to accomplish these goals—use ADO.NET as a thin data transport layer, while still taking advantage of the data-binding capabilities of .NET user interface controls. As it turns out, it’s pretty easy.
using System;
using System.Collections.Generic;
using System.Text;

namespace AdoNetDemo
    #region Enums

    public enum ProjectPriority { High, Medium, Low }


    public class ProjectItem
    	#region Declarations

        // Property variables
        private int p_ID;
        private string p_Name;
        private StepList p_Steps = new StepList();


    	#region Constructor

        public ProjectItem()


    	#region Properties

        public int ID
            get { return p_ID; }
            set { p_ID = value; }

        public string Name
            get { return p_Name; }
            set { p_Name = value; }

        public StepList Steps
            get { return p_Steps; }
            set { p_Steps = value; }


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

David Veeneman
Software Developer (Senior) Foresight Systems
United States United States
David Veeneman is a financial planner and software developer. He is the author of "The Fortune in Your Future" (McGraw-Hill 1998). His company, Foresight Systems, develops planning and financial software.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 19 Jan 2006
Article Copyright 2006 by David Veeneman
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid