GetDataRows

Gets an array of all DataRows in the DataTable.

Syntax

DataRow**	getDataRows(DataTable* dataTable) 

Parameters

  • Datatable - the DataTable to which this function applies

Results

Returns an array of DataRows.

Example

// Assume that dataTable is given here 
DataRows** rows; 
DataRow* dataRow; 
int i; 
int j; 
rows = getDataRows( dataTable); 
for(	i=0; i < getRowCount( dataTable); i++) 
{ 
 dataRow =	 rows[i]; 
	
 for(j=0; j < getColumnCount(dataTable); j++) 
 { 
 value = (char*)getByIndex( dataRow, j); 
 } 
}