SunQuest
 
       Database
  Home arrow Database arrow 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 
Dedicated Servers 
Actuate Whitepapers 
Moblin 
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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Working With ADOX and Combo Box Control


    (Page 1 of 5 )

    This article has 2 parts: The first part on ADOX provides information and code regarding the database, tables, stored procedures and views. In the second part the author provides a quick implementation on how to use the new .Net Combo Box.


    Support files are available here for the ADOX files, and here for the Combo Box files.



    Working With ADOX

    Visual Studio .Net has come with a very useful Add-In -- the Server Explorer. We will not be discussing it in detail, but I will talk a little bit about the Data connection.

    Have you ever thought about how they made it? If not, have you been wondered when working with the SQL Enterprise Manager when it displays the system tables that you don’t want to see?

    In this article, we will make the very first step in a tool that you have the control of. You can also customize this tool to speed up your development process.

    Since we are working with .NET, I'm sure you have used the ADO.NET, and before that the great ADO. But as a matter of fact, these tools didn’t give us any information about the database, the tables, stored procedures, or views.

    I will have to agree that when we use SQL server, we can run some queries against the system tables, and we will get much of the information that we need. But this is now how the Server Explorer works -- it can connect to virtually any database that supports OLE DB and many others.

    So, what should we do?

    We have to roll back to the ADO, but don’t worry, we will use it and X this time. Our solution has been there for a while, ADOX.

    ADOX is a COM component that has a very rich object model. You can check it out at:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/admscobjectmodel.asp

    Let's see some code. After all, don’t we all like to talk code?

    More Database Articles
    More By Mohammed Qattan


     

    DATABASE ARTICLES

    - 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
    - Manipulating ADO Recordsets





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway