654
Parameters
Parameter
iRow
lColumn
lpszData
Example
The following example shows the addition of two rows to a three-column ('City',
'State', and 'Zip') query:
// First row
CCFXQuery::SetQueryString
This is a deprecated function and should not be used.
CCFXQuery::SetTotalTime
This is a deprecated function and should not be used.
Description
Row of data element to set (1-based)
Column of data element to set (1-based)
New value for data element
int iRow ;
iRow = pQuery->AddRow() ;
pQuery->SetData( iCity, iRow, "Minneapolis" ) ;
pQuery->SetData( iState, iRow, "MN" ) ;
pQuery->SetData( iZip, iRow, "55345" ) ;
// Second row
iRow = pQuery->AddRow() ;
pQuery->SetData( iCity, iRow, "St. Paul" ) ;
pQuery->SetData( iState, iRow, "MN" ) ;
pQuery->SetData( iZip, iRow, "55105" ) ;
Chapter 4 ColdFusion C++ CFX Reference
Need help?
Do you have a question about the COLDFUSION 5 - CFML and is the answer not in the manual?