Umair_Ahmad_Khan Posted May 15, 2009 Share Posted May 15, 2009 Hi, my code aspnet_User user = c.aspnet_Users.First(u => u.UserName == userName); user.UserName = e.NewValues["UserName"].ToString(); user.LoweredUserName = user.UserName.ToLower(); c.SubmitChanges(); after submit changes my aspnet_user table have 2 rows. one is with old username and another one is with new .. :/ i only want to update the row Link to comment Share on other sites More sharing options...
0 Echilon Posted May 15, 2009 Share Posted May 15, 2009 As far as I know you can't rename user using the ASP.NET membership provider. You can change roles, but not rename a use. Link to comment Share on other sites More sharing options...
Question
Umair_Ahmad_Khan
Hi,
my code
after submit changes my aspnet_user table have 2 rows. one is with old username and another one is with new .. :/ i only want to update the row
Link to comment
Share on other sites
1 answer to this question
Recommended Posts