• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Activity Corner

In this activity corner section, you will create a registration page that allows users to register with your site. After a user registers with the site, the registration details must be added to the UserDetails table. To add the details to the table, you need to add an Insert Record server behavior to the registration page. To add the Insert Record server behavior, follow these steps:

1.
Copy the Register_base.asp file to the Userdetails folder in your local root folder. After copying, rename the Register_base.asp file as Register.asp.

2.
Open the Register.asp file and select the form button labeled Register.

3.
Open the Server Behaviors panel and select the Insert Record server behavior from the pop-up menu.

4.
In the Insert Record dialog box, select SongConnect from the Connection drop-down list.

5.
Select UserDetails from the Insert Into Table drop-down list.

6.
The name of the form appears automatically in the Get Values From drop-down list. The Form Elements list box shows all the form objects bound to the table fields, except the fName and lName form objects. Select fName from the Form Elements list box, FirstName from the Column drop-down list, and Text from the Submit As drop-down list.

7.
Select the lName option from the Form Elements lsit box, LastName from the Colunm drop-down list, and Text from the Submit As drop-down list.

8.
Click OK to close the dialog box.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint