Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi. is there any faster way (like: MyReader = myVariable)?

 

           While MyReader.Read
               ReDim Preserve myVariable(i)
               myVariable(i) = MyReader("id")
               i = i + 1
           End While

Posted

I know, that this questions are newbie like, but how can I then cycle through ArrayList?

if it would be ordinary array, I woudl do

 

For i = 0 to Ubound(myVariable)
   Messagebox.show(myVariable(i))
Next i

 

 

How can I do this with arraylist?

 

tx, matej

Posted
I know, that this questions are newbie like, but how can I then cycle through ArrayList?

if it would be ordinary array, I woudl do

 

For i = 0 to Ubound(myVariable)
   Messagebox.show(myVariable(i))
Next i

 

 

How can I do this with arraylist?

 

tx, matej

Same exact way.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...