addDataRecord
void dataSet.addDataRecord ( DataRecord dataRecord )
Description
Add a DataRecord to a DataSet.
Parameters
- dataRecord A DataRecord object.
Return Values
Returns void.
Change Log
Version | Description |
---|---|
4.5 | Available for all editions. |
Examples
Add Data Record to DataSet
// Create DataSet
myDataSet = DataSet();
// Create DataRecord
myDataRecord = new DataRecord();
myDataRecord.put( "STATE", "AZ");
// Add DataRecord to DataSet
myDataSet.addDataRecord( myDataRecord );
myDataSet = DataSet();
// Create DataRecord
myDataRecord = new DataRecord();
myDataRecord.put( "STATE", "AZ");
// Add DataRecord to DataSet
myDataSet.addDataRecord( myDataRecord );
See Also
- clearDataRecords() [dataSet] - Removes all DataRecords from the DataSet
- deleteDataRecord() [dataSet] - Deletes a DataRecord from the DataSet
- getAllDataRecords() [dataSet] - Returns a list of all DataRecords in the DataSet
- getDataRecord() [dataSet] - Gets a DataRecord from the DataSet
See additional example usage: Iterate over DataSets & DataRecords.
scraper on 07/16/2010 at 5:01 pm
- Printer-friendly version
- Login or register to post comments