S
Sam
Hi,
The following triggers this error :
Enumeration has either not started or has already finished.
(msg is a valid string)
CtrlStatus.Add(CInt(dtCtrl.Rows(iCntr).Item("FieldID")), msg)
Dim keys As IEnumerator = CtrlStatus.Keys.GetEnumerator()
Dim values As IEnumerator = CtrlStatus.Values.GetEnumerator()
my hashtable contains the right keys because when i type
CtrlStatus.contains(3) it works (3 is my only key). Besides .count
returns the correct number of elements.
So why do i get this message ?
thx
The following triggers this error :
Enumeration has either not started or has already finished.
(msg is a valid string)
CtrlStatus.Add(CInt(dtCtrl.Rows(iCntr).Item("FieldID")), msg)
Dim keys As IEnumerator = CtrlStatus.Keys.GetEnumerator()
Dim values As IEnumerator = CtrlStatus.Values.GetEnumerator()
my hashtable contains the right keys because when i type
CtrlStatus.contains(3) it works (3 is my only key). Besides .count
returns the correct number of elements.
So why do i get this message ?
thx