hello
I just created an MVC application 4 razor and I changed the UserProfile table of my AccountModel.cs as follows:
[Key]
public int UserId { get; set; }
public string UserName { get; set; }
public string Prenom { get; set; }
public string FullName { get; set; }
public string Email { get; set; }
public DateTime Born { get; set; }
public bool IsFemale { get; set; }
public string IPs { get; set; }
When I want to manage my account, the template automatically generated by Visual Studio 2013 just allows me to change the password.
How to have the ability to manage either the sets of elements (UserName, Surname, ..., PIs) of UserPprofile table or some elements (UserName, Born).
I tried to change the controller and the Model to Manage, but it does not.
How to please!
Thank you.
VulpesPosted Dec 18, 2014, 4:55 PM
However, unless you're generating all the data during the running of the program, it does demonstrate the value of backing up your database, particularly when it's being accessed by software which is still in development.
BTW, still on the present thread, I did find the following article which towards the end has some notes on creating an edit page:
http://www.codeproject.com/Articles/470107/ASP-NET-MVC-Part-Introduction
Ramsès Zogning IIPosted Dec 18, 2014, 3:16 PM
http://www.c-sharpcorner.com/Forums/Thread/279144/
Thank u
Ramsès Zogning IIPosted Dec 16, 2014, 9:11 AM
I know this method to customize a user's account so he can register to the website.
But how how can a user can change the values he entered during registration.
This is my real problem.
Thank you anyway for your answer.
VulpesPosted Dec 15, 2014, 6:26 PM
http://www.threenine.co.uk/blog/add-custom-fields-to-mvc4-simple-membership/