Creating a Web User Interface for Database Access

Now that we've developed some sample ASP pages, let's see how you can put them together so that they can be easily accessed from a web browser. Instead of typing the appropriate ASP filename in the browser's address bar every time you want to perform a particular operation, you can use hyperlinks and frames to organize the data. For example, take a look at Figure 28-35, which displays the Internet Explorer window divided into three areas. You can navigate between individual hands-on examples created in this chapter by clicking on the text in the left pane. When you click the hyperlink, the main portion of the window on the right-hand side will fill with the data retrieved from a database or display an interface to obtain the data (see Figure 28-36).

Ü hti p ://loca Ihost/No rt hD b/Review. htm L

EBB

File Edit View Favorites Tools Help

»1

Quack * Q 0 Ü) 0.¿PSMreh

S^F»— @ 0- ^ S • LJ 0 H ^

rjj http : ;'ilcua'h.i'ît iKcfthDb/ß.ev>?A„html

V a GO

A

d

Please select an option from the menu,

V

Chapter 28 - ASP Examples

fiarôs-QiUS-Z ffiçtrim ramte")

Hands-on 3S-S. 2E-9 (lirait records per page} Hends-on 2840 (Retrieve records usate GetRowsl

Hands-on2S-ll (Uec a drop-down boi}

Hsnds-on 2S-12 fUse a multiple seîecticm Est bojf)

Hatids-an 28-13 (Add a new record1} H ands-on 28-14 (Modify a record)

Hand S-on 23J3 iBftlel Ç a M S Oitfl

â

Local intranet

Figure 28-35: This page allows easy access to the hands-on examples on ASP programming introduced in this chapter.

Figure 28-35: This page allows easy access to the hands-on examples on ASP programming introduced in this chapter.

Hands-On 28-16 walks you through the steps required to create the user interface shown in Figure 28-35.

Part V

0 0

Post a comment