Macromedia dreamweaver 8-using dreamweaver Manual De Usuario

Descargar
Página de 1030
Creating a source of dynamic content
667
To use a content source in Dreamweaver, you use the Bindings panel to create the data source. 
The Bindings panel, shown below, lets you create data sources for databases and different 
variable types. When you create a data source, it is stored in the Bindings panel where it can 
be selected and inserted into the current page.
To create a recordset in Dreamweaver, you use the Recordset dialog box. You can open the 
Recordset dialog box from either the Server pane of the Insert bar, or from the Bindings panel. 
The Simple Recordset dialog box lets you select an existing database connection and create a 
database query by selecting the table or tables whose data you want to include in the recordset. 
You can even use the Filter section of the dialog box to create simple search and return criteria 
for the query. You can test the query from within the Recordset dialog box, and make any 
needed adjustments before adding it to the Bindings panel.
Once a database connection is established, and a recordset defined, the recordset appears in 
the Bindings panel. From here you can import it into any web page within the defined site. 
The illustration below shows the Bindings panel with the recordset for an employee database 
open. You can insert any of the values shown into a web page by selecting the item, and 
clicking the Insert button at the bottom of the panel. The selected item is inserted into the 
specified placeholder within the page.