O'Reilly logo

Programming ColdFusion MX, 2nd Edition by Rob Brooks-Bilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

cfgridupdate

Synopsis

<cfgridupdate>

Updates records in a database using values passed from a cfgrid control.

Attributes

grid=" grid_name "

Name of the grid control containing the data to be updated. Required.

datasource=" data_source_name "

The name of the data source to connect to when performing the update. Required.

connectstring=" connection_string "

Passes additional connection information to an ODBC data source that can’t be passed via the ColdFusion Administrator. connectstring can also override connection information set for a data source already registered in the ColdFusion Administrator. When making a dynamic data source connection (when dbtype is Dynamic), connectstring specifies all the information required to connect to the data source. For specific connection-string options, you should consult the documentation for your particular database. New as of ColdFusion 5.0. This attribute is no longer supported in ColdFusion MX.

dbname=" database_name "

The database name. For the Sybase System 11 native driver and SQLOLEDB provider only. Optional. Overrides any value set for datasource. This attribute is no longer supported in ColdFusion MX.

dbserver=" database_server "

The name of the database server to connect to when using native drivers. Specifying a dbserver overrides any value set for datasource. Optional. This attribute is no longer supported in ColdFusion MX.

dbtype=" database_type "

The type of database driver to use. Optional. This attribute is no longer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required