SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1782 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Standard Server Behaviors
Dreamweaver ships with more than 25 server behaviors, and it offers the option to add many more. The
default server behaviors are geared toward handling basic Web application tasks such as repeating an area
and inserting records in a data source.
In the following sections, each server behavior is briefly described, along with any prerequisites. Step-bystep
instructions for including the server behavior are provided; for more contextual information on using
the particular server behavior, see the cross-referenced chapter.
Recordset (Query)
To create a simple recordset, follow these steps:
1. From the Server Behaviors panel, click the Add (+) button and choose Recordset (Query) from the
drop-down list. The Recordset dialog box, shown in Figure 34-3, is displayed.
FIGURE 34-3
You can add recordsets from either the Server Behaviors panel or the Bindings panel
through two different dialogs; the Advanced Recordset dialog shown here enables you to
enter SQL statements directly.
1056
Extending Dreamweaver Part VII
2. In the Recordset dialog box, enter an identifying label for your recordset in the Name field. It??™s
considered good practice to prefix your recordset name with rs??”as in rsDBA. This prefix
quickly identifies the recordset in the code.


Pages:
1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794