Hi
I have added datas into a hash table as below
Now my problem is i cannot retrieve anything
when i put the code as
If ht.ContainsKey( "dfd")Then
Console.WriteLi ne("found")
End If
i do not get either reply or error
Help me out
I have added datas into a hash table as below
Code:
For I = 0 To RowCount - 1 RegNo = (Ds.Tables("chktable").Rows(I)(0)) dataTime = (Ds.Tables("chktable").Rows(I)(1)) ht.Add(Ds.Tables("chktable").Rows(I)(0), Ds.Tables("chktable").Rows(I)(2))Id = (Ds.Tables("chktable").Rows(I)(2)) 'I have added only two fields the first and the last one Next
when i put the code as
If ht.ContainsKey( "dfd")Then
Console.WriteLi ne("found")
End If
i do not get either reply or error
Help me out