beautypg.com

Adobe Dreamweaver CS3 User Manual

Page 6

background image

vi

Database connections for ASP.NET developers

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518

Database connections for JSP developers

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521

Troubleshooting database connections

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525

Removing connection scripts

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 530

Chapter 18: Data sources for web applications

Using a database to store content

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531

Collecting data submitted by users

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532

Accessing data stored in session variables

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535

Chapter 19: Making pages dynamic

Optimizing the workspace for visual development

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538

Designing dynamic pages

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541

Dynamic content sources overview

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543

Dynamic content panels

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546

Defining sources of dynamic content

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547

Adding dynamic content to pages

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564

Changing dynamic content

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567

Displaying database records

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570

Viewing live data

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579

Using web services

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583

Adding custom server behaviors

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589

Creating forms

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600

Chapter 20: Building applications visually

Building master and detail pages (all servers)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614

Building search and results pages (ColdFusion, ASP, JSP, PHP)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624

Building a database search page (ASP.NET)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629

Building a record insert page (all servers)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633

Building pages to update a record (all servers)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637

Building pages to delete a record (all servers)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643

Building pages with advanced data manipulation objects (ColdFusion, ASP, ASP.NET, JSP)

. 651

Building a registration page (ColdFusion, ASP, JSP, PHP)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658

Building a login page (ColdFusion, ASP, JSP, PHP)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660

Building a page only authorized users can access (ColdFusion, ASP, JSP, PHP)

. . . . . . . . . . . . . . 662

Securing a folder in your application (ColdFusion)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665

Using ColdFusion components (ColdFusion)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665

Using JavaBeans (JSP)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672

Chapter 21: Building ASP.NET and ColdFusion forms

Building ColdFusion MX 7 forms

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674

Building ASP.NET forms

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686

Creating ASP.NET DataGrid and DataList web controls

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691

Chapter 22: Automating tasks

Automating tasks

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698

September 4, 2007