Database
  Home arrow Database arrow Creating a Database Project in VS 2005
Iron Speed
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 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
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

Creating a Database Project in VS 2005
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 10
    2006-07-10

    Table of Contents:
  • Creating a Database Project in VS 2005
  • Creating a new reference database
  • Creating a new query
  • The Query Editor

  • 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
     
     
    Iron Speed
     
    ADVERTISEMENT

    Speeding Shipping, Improving Compliance – Read the ScanCode Systems Case Study

    Creating a Database Project in VS 2005
    (Page 1 of 4 )

    Visual Studio's database projects replace the database support that was available in Visual Studio 6.0 with the Visual Interdev IDE, making a number of improvements and enhancements. A Visual Studio database project is folder and file based as you will shortly see in the tutorial.

    It's a convenient focal point from which you can create, edit, test and deploy database scripts, all of which are under source control. This makes it an excellent tool for team based development. The Visual Studio IDE supports the project by providing its usual wizardry for data connections, a powerful query editor and various kinds of templates. This may be the most appropriate vehicle for integrating front end to back end in module-based applications. This basic tutorial shows you how such a project can be created to generate a SQL select query and execute it against a Microsoft Access database on a network node.

    Creating a Database Project and establishing a database reference

    With the VS Studio running click on File --> New Project. Expand the node Other Project Types by clicking on the + sign, and from the revealed items on the right, click on Database project as shown. It automatically points to Project1 for the project name; you change it to something of your choice. Herein it is called TestOledb. The project name and solution name are the same, and you have the option to create or otherwise handle the directory structure. The project file will be created by default at C:Documents and SettingsJayMy DocumentsVisual Studio 2005Projects (it will be different in yours), but can be changed to a different location.

    You click OK to the above screen, which opens up the window Add Database Reference shown in the next picture, showing all the available database references. There are two references here: SQL 2005 server's Northwind database and the HR database on Oracle XE.

    More Database Articles
    More By Jayaram Krishnaswamy


       · VS Studio based database projects provide scripted templates for all occasions from...
     

    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

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




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