Tuesday, September 15, 2009

Using ASP in Dreamweaver

Actually, we don't have any experience about Dreamweaver, but we try to to follow all the instruction given by the lecturer. first we create the new site in dreamweaver, we have trouble with connection site. Our connection cannot run properly.
After that, we try again until the connection run successful. After the connection done, we facing problem again with the table not appear in Insert Record dialog box. So, we try again and change the computer, and at last we complete the task.
What we do to create ASP page using dreamweaver are mentioned below :

Step 1 - Create new site in dreamweaver
First, we choose menu 'Site' and click New Site
















Select "Yes, I want to use a server technology" and choose ASP VBScript.

















Step 2 - Setup the database file in Access.
Database file must be saved to as following : C:/inetpub/wwwroot/data
Save database file in MS Access 2002-2003 (with .mdb file extension)




Step 3 - Setup the connection

"Driver={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("/maklumat/db1.mdb")


Step 4- Setup the contact form
Step 5 - Writing a data into database using the Insert Record
Step 6 - Reading/viewing a data from a database using the recordSet
Step 7 - Execute the file

Well, we finish build ASP home page in dreamweaver !!!


No comments:

Post a Comment