Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
IList.numRows
Gets the number of rows in this list.
Syntax
public int numRows()Description
The
numRows
method returns the number of rows in a list.If the list represents uncached data in a database, a large delay and high memory usage might be encountered, since the list must be scanned on the database side to determine the count. Avoid this if possible.
Returns
Returns the number of rows in the list.
Example
try { for (int i=1; i <= treelist.numRows(); i++) { treelist.moveTo(i); DeleteTopic(treelist.getValue(Msg.nid)); } }
Home > Contents > Index > FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.