Online Product Info
Visual Studio.NET Design-Time Support

About Visual Studio.NET
Visual Sudio.NET is the editor of choice for most ASP.NET developers.

Visual Studio.NET

  • Is project based
  • Provides code-behind support by default
  • Performs compilation directly from the editor
  • Allows you to program in multiple languages including VB.NET, C#.NET, C++.Net, and J#.NET
  • Macro support and other productivity enhancers

Learn more about Visual Studio from the MSDN Visual Studio Homepage at: http://msdn.microsoft.com/vstudio/  

Adding ASP.NET Auto DB to the Visual Studio.NET Toolbox
By adding ASP.NET Auto DB to the Visual Studio.NET toolbox, you can drag-and-drop Auto DB onto your forms and adjust properties without having to work with HTML code.

When you drag-and-drop ASP.NET Auto DB onto one of your forms, Visual Studio.NET automatically adds the registration directive and control tag to your .aspx page. The best part is that these are the only two lines you need on your form to access ASP.NET Auto DB's complete functionality!!!

Once you have installed ASP.NET Auto DB on your Development Workstation, follow these steps to add Auto DB into the Toolbox:

  1. Open Visual Studio.NET
  2. Open an existing .aspx page or create a new one
  3. Click on the "General" tab in the Toolbox (located on the left-hand side of the editor) or right-mouse click and create a new tab.
  4. Right-Click on the "General" tab and select  "Customize Toolbox..." as shown in Figure 1
Figure 1
  1. When the "Cutomize Toolbox" dialog appears, click on the ".NET Framework Components" Tab (upper right) 
  2. Press the "Browse" button on the lower right of the dialog
  3. Locate and select the By360Impact.AutoDB.dll file in the ASP.NET Auto DB installation folder, then press "Open"
  4. Click "OK"

Congratulations! The ASP.NET Auto DB Control should now appear in the Visual Studio.NET Toolbox.

Using ASP.NET Auto DB in the Visual Studio.NET Design-Time Environment
ASP.NET Auto DB includes an unlimited design-time license for use on your development machine(s). This license allows you to use the control inside of Visual Studio.NET, which gives you access to properties through the property window as shown below.

Follow these steps to visually adjust the Auto DB control's properties within ASP.NET Visual Studio:

  1. Either create a new ASP.NET page or open an existing ASP.NET form. 
  2. Drag the Auto DB control onto your form (typically to the top or bottom of your form.) Visual Studio.NET will automatically add the necessary registration and control tags to your form.
  3. Click on the [ASP.NET Auto DB] control, and the Visual Studio.NET properties window will show all the properties (in the lower right corner of the design view) you can easily adjust as shown in Figure 3 below.
Figure 3
 

Related Information

Set ASP.NET Auto DB properties globally so they apply to all forms in your web site or application

 

© copyright 2004 360 IMPACT. All rights reserved.