Forgot to mention - MyProfile values come from a custom class for the storage
of list items (values from a checkBoxlist).
This seems to work:
Dim P As ProfileBase = HttpContext.Current.Profile
Dim myVariable As ProfileCommon = P
myVariable.MyProfile.items.Clear()
Can anyone comment???
"James Page" wrote:
Im accessing my profile in a Class using:
Dim P As ProfileBase = HttpContext.Current.Profile
Dim myInt As Integer = P.GetPropertyValue("myProfileId")
All is working fine, however how do I use the
profile.myProfile.items.clear() method in a Class?
Any thoughts?
Thanks James