Basic HTML version of Foils prepared May 3 1998

Foil 38 Inserting Data

From Java Blend and Cold Fusion High Level Database Interfaces CPS616 Web Technologies -- Spring 98. by Chao Wei Ou


1 Inserting data into a database is usually done with two application pages:
  • An insert form
  • An insert page
2 You can create an insert form with CFFORM tags or with standard HTML form tags. When the form is submitted, form variables are passed to a Cold Fusion page that performs an insert operation (and whatever else is called for) on the specified data source. The insert page can contain either a CFINSERT tag or a CFQUERY tag with a SQL insert statement. The insert page should also contain a message for the end user.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998