316
int iCity = 1, iState = 2, iZip = 3 ;
// First row
int iRow = query.addRow() ;
query.setData( iRow, iCity, "Minneapolis" ) ;
query.setData( iRow, iState, "MN" ) ;
query.setData( iRow, iZip, "55345" ) ;
// Second row
iRow = query.addRow() ;
query.setData( iRow, iCity, "St. Paul" ) ;
query.setData( iRow, iState, "MN" ) ;
query.setData( iRow, iZip, "55105" ) ;
Parameters:
iRow
iCol
data
Throws:
IndexOutOfBoundsException
See Also:
getData, addRow
Interface Request
public abstract interface Request
Interface to a request made to a CustomTag. This interface includes methods for
retrieving attributes passed to the tag (including queries) and reading global tag
settings.
Method Summary
boolean
boolean
String
— Row of data element to set (1-based)
— Column of data element to set (1-based)
— New value for data element
attributeExists(String name)
debug()
getAttribute(String name)
Developing Web Applications with ColdFusion
— If an invalid index is passed to the method.
Checks to see whether the
attribute was passed to this
tag.
Checks whether the tag
contains the
attribute.
Retrieves the value of the
passed attribute.
DEBUG
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?