IPB_ResultSetAccessor interface:
GetItemData method
Description
Accesses the data in a cell. The first row is 1 and the first column is 1.
Syntax
GetItemData(unsigned long row, unsigned long col, IPB_RSItemData* data)
Argument |
Description |
---|---|
row |
The row number of the cell |
col |
The column number of the cell |
data |
A pointer to an IPB_RSItemData structure |
Return Values
Boolean.
Examples
This example stores the data in the first row and column in the IPB_RSItemData structure sd:
d_rsAccessor->GetItemData(1, 1, &sd);
Usage
If the value of data is null,
this function issues the callback data->SetNull
.
If the value is not null, it issues the callback data->SetData
.
For more information, examine the IPB_RSItemData interface.