![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Dim col As New uTargetAdvertiserURLCollection(Cache("UtargetCampa igns")) Dim item As uTargetAdvertiserURL item = col.Item(0) item.URLID += 1 Response.Write(item.URLID) item = Nothing When i update the item which is part of a collection , it also updates the cache. This must be because the collection is pointing to the cache object. I want to pass a copy of the cache object to the collection , i dont want it updating the actual cache object. I have tried passing in as a parameter to the collection constructor and copy all the items into the list, this still updates the cache . The collection inherits from collectionbase and implements ibindinglist , list. The item is just a wrapper with properties and fields David |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |