show your code which adds the tag... Including the dim... Without seeing a code i just can guess what you are doing wrong
Maybe you are doing it like this way?
DIM tv as string
for i = 0 to 100
tv = i
' code for creating imageview here
imageview.tag = tv
next
And then (in this example) all imageviews have a Tag of "100"... Right?
If that is the case then try this:
for i = 0 to 100
DIM tv as string
tv = i
' code for creating imageview here
imageview.tag = tv
next
NOW each imageview have the Tag which expected. 0, 1, 2, 3, ..., 100