Database
  Home arrow Database arrow Page 3 - Working With ADOX and Combo Box Control
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DATABASE

Working With ADOX and Combo Box Control
By: Mohammed Qattan
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 10
    2004-09-21

    Table of Contents:
  • Working With ADOX and Combo Box Control
  • Code
  • Using Combo Box Control
  • Employee Form
  • More on Combo Box

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Working With ADOX and Combo Box Control - Using Combo Box Control


    (Page 3 of 5 )

    Since Visual Studio 6.0 and even before, we have been using the great Combo Box control. Since .Net has come with a list of new features and implementation to make our lives easier, the wind of change didn’t miss the Combo Box control.

    In this part of the article we will get our hands on the code, and we will be exploring what the old combo box has became in a manner that has made our code much easier to develop, implement, read, and maintain.

    If you haven't downloaded the project yet, then please do, so that we can keep in sync.

    Here is the case we will be working on:

    1) We have a Department, with some employees working in that department.

    2) Going into an object oriented design, we will be having the following classes:

        a. Department.
        b. Employees: a collection of class Employee (employees working in the department)
        c. Employee: the employee is the person who works in the department.

    3) We will be doing the following on the Form:

       a. We need to load the combo box with the employees in the department.

       b. When the user selects a new employee from the Combo Box, then we need to reflect the changes on the Text boxes, where we will be displaying the employee’s name and salary.

    We will not be talking much about the design and how we implemented the classes, but we will be discussing the Combo Box in more details.

    More Database Articles
    More By Mohammed Qattan


     

    DATABASE ARTICLES

    - Excel Reference
    - Database Programming in C# with MySQL : Usin...
    - Formatting Techniques for Data Access from E...
    - Data Access from Excel VBA
    - Generating a Multiple Table Crystal Report u...
    - ADO and the Command Object
    - On Wiring Up an ADO Data Control
    - Reading and Writing to Files on the Intranet
    - Using ADO Record to Create and Navigate Intr...
    - Using Data Access Pages to Access Data on a ...
    - Using ADO with the SQL Native Client
    - ADO`s Stream Object
    - Opening a Record Object Referencing an Open ...
    - Introducing Jasper (SQL Anywhere 10 Beta)
    - Creating a Database Project in VS 2005





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT