Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot turn IsApproved False

1 view
Skip to first unread message

Cirene

unread,
May 11, 2008, 10:41:40 AM5/11/08
to
Here's my code:

Dim usr As MembershipUser =
Membership.GetUser(CType(CType(fvPosterInfo.FindControl("UserNameLabel"),
Label).Text, String))
usr.IsApproved = False

After I set usr.IsApproved it takes ok, but when I check the
aspnet_Membership table the IsApproved is still True! Am I doing this
right????


Cirene

unread,
May 11, 2008, 2:14:11 PM5/11/08
to
FYI: i had to do this...

Membership.UpdateUser(usr)

:)

"Cirene" <cir...@nowhere.com> wrote in message
news:%23gh6gU3...@TK2MSFTNGP06.phx.gbl...

0 new messages