Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello!!
I'm trying to create members via code using the following code:
Membership.CreateUser(UsernameTextbox.Text.ToString(), PasswordTextbox.Text.ToString(), EmailTextbox.Text.ToString());
But he is always giving the following error:
Object reference not set to an instance of an object.
Someone tell me why?
Hi Nuno and welcome to our :)
Could you perhaps post some more of your code? And could you describe a bit more about your process when building your project?
As much information as you can give the eaiser it is to point you in the right direction.
/Jan
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Create members
Hello!!
I'm trying to create members via code using the following code:
Membership.CreateUser(UsernameTextbox.Text.ToString(), PasswordTextbox.Text.ToString(), EmailTextbox.Text.ToString());
But he is always giving the following error:
Object reference not set to an instance of an object.
Someone tell me why?
Hi Nuno and welcome to our :)
Could you perhaps post some more of your code? And could you describe a bit more about your process when building your project?
As much information as you can give the eaiser it is to point you in the right direction.
/Jan
is working on a reply...