J
Jeff
hi
asp.net 3.5
On my website I want to implement a customValidor on the registration page,
so that a custom error appear when someone trys to register a user who
already exists...
So I'm wondering about how to do that script the check if that user already
exists....
My approach:
MembershipUser user = Membership.GetUser( <name entered in textbox> );
if (user == null)
return false;
else
return true;
Don't think that apprach is optimal, so I hope maybe there are some better
ways of doing this..
any suggestions?
asp.net 3.5
On my website I want to implement a customValidor on the registration page,
so that a custom error appear when someone trys to register a user who
already exists...
So I'm wondering about how to do that script the check if that user already
exists....
My approach:
MembershipUser user = Membership.GetUser( <name entered in textbox> );
if (user == null)
return false;
else
return true;
Don't think that apprach is optimal, so I hope maybe there are some better
ways of doing this..
any suggestions?