Home Community Submit Tutorials Downloads Gallery Links Contact FAQ's / Help
  Home
  Submit Tutorials
  Community
  Tutorials
  Fonts
  Templates
  Affiliates
  Photography Corner
  Site Map
  Contact Us
 
Affiliates
  Pixel Apex
  Trick Digest
  Racuda
  Adobe Tutorialz
  Pixel2life
  Good-Tutorials
  Tutorialized
  Deviantart
  Majesticlicks
  Free-Brushes
 
Tutorial Categories
3D Studio Max
Adobe Photoshop
Adobe Fireworks
Adobe Flash
Adobe Flex
Adobe Illustrator
ASP.NET
Dreamweaver
eCommerce
Gimp
JavaScript
Maya
Microsoft Frontpage
PHP Coding
Swift 3D Swift 3D
Windows Operation
Wordpress
 
Tutorial
Name:
Advertisement
Author:
Tutorialboard
Gallery Image
Name:
Rose
Author:
Pixel Digest
 
Search:
Search Example: Orb, Oman3d, Adobe Photoshop or Picture Editing
 
 
Access Database - Display information stored in a database using Dreamweaver.
Introduction: In this tutorial I will teach you how using Dreamweaver 8 and its ASP.NET function to display information stored in a database you created. The database and image files needed for this tutorial will be available to you which will make it very easy to follow. If you are having problems feel free to e-mail us, or post a message on the forum.

In this tutorial, I will teach you how to display information in a database.

Step1: Setting up work space.

For this to work you will need to have the software below installed.

  1. Dreamweaver 8, this is what I used in the tutorial. I am not sure if you can do this on the previous versions.

  2. Windows XP Professional

  3. (IIS) Internet Information Services has to be installed.

  4. Follow this tutorial to install IIS ( Click Here )

Also, you have to setup your site definition. This will include the Local Information and Testing Server for ASP.NET VB As shown below. After you get that going download the pack which includes the database and images.

At this point I will take it that you have Dreamweaver setup and can run asp.NET pages. And you have the database and image folder inside the "Inetpub\wwwroot\yoursitename\" folder

Step2: Creating a database connection and Dataset.

Click File New... and click on Dynamic Page ASP.NET VB and click Create. Hit Ctrl+S and save your site as default or what ever you want.

After that click on the Windows tab and make sure Databases is checked.

Click on the Shown in the databases tab and click on OLE DB Connection

With that fill in the information below.

Connection Name: tutbd

Next click on the Build Button and the window blow should come up

 

From the Provider tab select "Microsoft Jet 4.0 OLE DB Provider" and click Next. With that the window below should come up.

Click on the button next to the "Select or enter a database name" and browse to your database file. Mine is C:\Inetpub\wwwroot\pixeldigestts\database\tutdb.mdb

After that Hit the Test Connection Button, and it should be successful. With that click ok. Make sure you connection string look similar to what I have below.

"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=C:\Inetpub\wwwroot\pixeldigestts\database\tutdb.mdb"

At this point you should be in the OLE DB Connection window, click on the test button

If you see the message above, that mean you are going good so far. Click ok, and Ok again. In the Application window click on the

and select DataSet (Query), with that you should see the window below.

Fill in the information according to the image below.

 

After that click ok. Now you should have the dataset shown below

Click on the Little + next to the dataset and you should see all your records in the database.

 

Step3: Preparing the page to add the information.

Create the table shown below.

You can copy this code and paste it into Dreamweaver code view if you have a hard time building the table.

<table width="518" border="1" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC">
<tr>
<td width="67" rowspan="3" align="center" valign="top">&nbsp;</td>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td colspan="4"><table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td width="94">&nbsp;</td>
<td width="96">&nbsp;</td>
<td width="110">&nbsp;</td>
<td width="123">&nbsp;</td>
</tr>
</table>

From the dataset

Drag the name into the table to look like the file below.

To add an image click on image icon and click on Data Source

Now select the "tutThumbnail" and click ok twice. At this point you table should look like the image below.

Hit F+12 to preview you work. It should look like the image below.

Step4: Displaying all the records in the database.

Click on the table and select the table code shown below.

When you click on the table it will select your table. With the table selected click on Server behavior located in the Application window. From there click on the and select Repeat Region

When the window above comes up click on All Records and press ok. With that your table should change a little, the Item Template should come around it.

Preview your page, and you should see all the records in the database.

 

Finished:
Well that is it, hope it came out to what you expected. I also created a video tutorial for this example. The file is a 9.50 MB flash file. I have the link up on the video section on the forums. Users have to register to view the file, click here to register and view file.  If you have any question or comment about this tutorial, feel free to post a message on the forum.

This Tutorial was Created by Mark
© 2006 pixeldigest.com. All Rights Reserved

 
 
Help Support Us
 
 
 
News Updates
Updated the Forum, Unfortunately i could not use the same link as the old forum for the update. For the new link click Here. All the post and user name are still usable. So, if you previously registered you can still use the old username and password. Some accounts that was not used were deleted.  
 
News Update [10/16/07]
Yesterday on the 15th of October my gallery went down for some unknown reason. I was able to get the backup of the images, i just lost all the users. The gallery was not that active but i am sill pissed about what happened. I am in the process of reloading the gallery. Just give me some time and it should be up and running.Yesterday on the 15th of October my gallery went down for some unknown reason. I was able to get the backup of the images, i just lost all the users. The gallery was not that active but i am sill pissed about what happened. I am in the process of reloading the gallery. Just give me some time and it should be up and running.  
... Read More
 
Bookmark This Page
 
 
Untitled Document
Latest Gallery Image
 
Sponsors
Custom Shapes
Custom Shapes
Custom Shapes
 
 

Home | Submit | Tutorials | Forums | Gallery | Fonts | Downloads | Templates | Affiliates | Sitemap | Contact | FAQ's / Help

© 2005 - 2008 pixeldigest.com