G
GaryDean
The static MembershipCollection class appears to work different than other
collection classes...
MembershipUserCollection myUsers = new MembershipUserCollection();
myUsers = Membership.GetAllUsers();
MembershipUser myMember = myUsers.Item[0]; <---- no Item property
This collection has no Item property. Why? The only way I can reference an
individual member of this collection is to specify the string value of the
key field (in this case username).
Thanks,
Gary
collection classes...
MembershipUserCollection myUsers = new MembershipUserCollection();
myUsers = Membership.GetAllUsers();
MembershipUser myMember = myUsers.Item[0]; <---- no Item property
This collection has no Item property. Why? The only way I can reference an
individual member of this collection is to specify the string value of the
key field (in this case username).
Thanks,
Gary