Hello,
I created a CustomMembershipUser that inherits the MembershipUser class. In this class, I want to add some custom properties.
In this class I created a variable test:
private int _program;
public int program
{
get { return _program; }
set { _program = value; }
}
To fill this variable, called the method of GetUser MembershipProvider, I did it this way:
CustomMembershipUser user = new CustomMembershipUser
(
(int)dtb.Rows[0]["id"],
&nb ...
Go to the complete details ...