|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Stumpy??
I don't get it
Since the array will only be one dimension, you can make your FOR like this: FOR EACH element IN ary sp_Foo element NEXT what is sp_foo element ary where do I place this in the code I sent ????? confussed !! |
|
#2
|
||||
|
||||
|
lol - sorry - i was just writing example code... Foo is a word that programmers use to substitute anything, while giving an example.
Btw - rename your array to 'aryGUID', as 'array' is a reserved word, and should never be used. Code:
FOR EACH element IN aryGUID
If aryGUID(I) <> "" Then
cmd.Parameters("@Announcement_Job_Class_Guid").Value = element
MsgBox(element).ToString()
'... your other code
End If
NEXT
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Array pt II |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|