An indooGrid Documented Class Library

tableEnumerator Class

Class for iterating trough normalized data of records' ids given by join's query.

For a list of all members of this type, see tableEnumerator Members.

System.Object
   tableEnumerator

[Visual Basic]
Public Class tableEnumerator
[C#]
public class tableEnumerator

Remarks

Here is example from db results from joined tables a, b and c: +------+------+------+ ! a ! b ! c ! +------+------+------+ ! a1 ! b1 ! c1 ! ! a1 ! null ! null ! ! a1 ! b1 ! c2 ! ! a1 ! b2 ! c3 ! ! a1 ! b3 ! c4 ! ! a1 ! b3 ! null ! +------+------+------+ With right sort order (' order by a,b,c') you can iterate trough data of id's values with command moveNext and with function isLast and isFirst get information when record begin or end for each column (a,b or c). Columns used with enumerator functions isFirst and isLast has to be id (identity) columns. for loop sintax use: Do ... your code Loop While dataEnumerator.moveNext

Requirements

Namespace: Indoo.Data

Assembly: indooGrid20 (in indooGrid20.dll)

See Also

tableEnumerator Members | Indoo.Data Namespace