i hve the above code in which i am adding the fields 2 arrayCode:While m_reader.Read If Not m_reader("cname") = "" Then arryname.Add(m_reader("cname")) arrymail.Add(m_reader("mail")) End If End While For Each item As String In arryname Next
for retriving the values of each field i will need to execute the for loop twice
how can i retive values of both array items using a single loop



Reply With Quote




Bookmarks