Now you'll create a recordset to select the data you want to display. A recordset is a set of information extracted from a database by a database query. (In ASP.NET, a recordset is known as a DataSet.) A database query is a way to request data from a database using specified search criteria, usually in a language called SQL. You then use the information extracted as a source of content for your dynamic pages.
Dreamweaver MX 2004 provides an easy-to-use interface for creating simple SQL queries (you don't need to know SQL to create a recordset in Dreamweaver).
You'll create a recordset that selects all of the values from the COMMENTS table in the Trio database.
Note: Before you can complete this procedure, you must set up a connection to the database. For more information, see Before you begin.
The Recordset dialog box or (for ASP.NET) DataSet dialog box appears. If the dialog box you see looks more complex than the following dialog box, click the Simple button.
The Recordset or DataSet dialog box updates with data from the database.
This specifies that the retrieved records will be listed in alphabetical order by customer last name.
The records from the database that match your recordset or DataSet selection criteria are displayed in the Test SQL Statement window. In this case, you selected all the data in the table.
The recordset appears in the Bindings panel. The Document window doesn't change.
Tip: If you don't see all of the recordset fields in the Bindings panel, click the Plus (+) button (Windows) or expander arrow (Macintosh) next to Recordset (rs_Comment) to expand the recordset's structure.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/mx2004/getting_started_en/gs_08_d5.htm