c# - MembershipUser class - Comments method doesn't work? -
i'm unable set comments property of membershipuser type objects.
e.g.
membershipuser mu = membership.getuser(username); mu.comment = "somecomments";
i'd expect set comment property of mu object "somecomments" , write changes database.
later, following check:
mu.comment == "somecomments";
comment property set null. there anythign need change in web.config or...?
thank you
call membership.updateuser(mu)
Comments
Post a Comment