Today, mommy learned about ASP. When we want to use ASP coding, we need to make sure our IIS is in Start mode. What is IIS? IIS stands for Internet Information Services. How to check our IIS is in Start mode? Lets Mommy show you.
Click Programs
Click System and Security -> Administrative Tools
Double click Internet Information Service (IIS) Manager
Look at the right corner, Manage Server.
CREATE DATABASE AND TABLES USING MICROSOFT ACCESS 2007
Go to Start button -> Microsoft Office -> Microsoft Access 2007
CREATING GUESTBOOK USING ASP
Open Adobe Dreamweaver CS3.
Go to Start button -> Microsoft Office -> Microsoft Access 2007
Click Blank Database
At the right corner, type database name in the Text Field. Example: database name is "data"
Save As the table that had been created for you. Example: table name is "guestbook"
Click View and choose Design View
Fill the field name of guestbook table.
CREATING GUESTBOOK USING ASP
Open Adobe Dreamweaver CS3.
Choose ASP VBScript
Save As at C:\inetpub\wwwroot\ASP
Create table.
At Properties below the page, width set to 50% and Align set to Center.
At Properties below the page, click Page Properties button.
Insert Text Field
Click at the Text Field, change TextField Name at the Properties below the page. (Every Text Field must give their names)
Insert Submit button
Click Application -> Database -> Custom Connection String
Click Test button. Make sure "Connection was successfully!"
Then, go to Server Behaviors -> Recordset (Query) -> choose Connection name and your guestbook table. After that, go to Server Behaviors -> Insert Record -> choose Connection name, your guestbook table, look at Column (check and make sure your field name in guestbook table match with TextField name in dreamweaver, set URL if the insert succeed -> OK. Try run the guestbook. Had Fun!






















0 comments:
Post a Comment