Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » ADO.NET » Downloads
Add your own
alternative version
Go to top

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
    public class StepItem
    	#region Declarations

        // Property variables
        private DateTime p_Date = DateTime.Now;
        private string p_Description = String.Empty;
        private int p_ID = -1;


    	#region Properties

        public string Description
            get { return p_Description; }
            set { p_Description = value; }

        public DateTime Date
            get { return p_Date; }
            set { p_Date = value; }

        public int ID
            get { return p_ID; }
            set { p_ID = 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.

| Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 19 Jan 2006
Article Copyright 2006 by David Veeneman
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid