Hi, I've defined a class to store custom profile such as this :
namespace ASPMembersAndRoles
{
[Serializable()]
public class UserProfile
{
public string firstName;
public string lastName;
public int age;
public UserProfile(string _firstName, string _lastName, int _age)
{
FirstName = _firstName;
LastName = _lastName;
Age = _age;
}
public UserProfile()
{
}
public string FirstName
{
set { firstName = value; }
get { return firstName; }
}
public string LastName
{
set { lastName = value; }
get { return lastName; }
}
public int Age
{
set { age = value; }
get { return age; }
}
}
}
and i set the web config such as this :
...
Go to the complete details ...