protected void RegisterUser_CreatedUser(object sender, EventArgs e) { Database1Entities db = new Database1Entities(); Kullanıcılar kullanıcı = new Kullanıcılar(); kullanıcı.AdSoyad = RegisterUser.UserName; kullanıcı.Şifre = RegisterUser.Password; db.Kullanıcılar.Add(kullanıcı); db.SaveChanges(); FormsAuthentication.SetAuthCookie(RegisterUser.UserName, createPersistentCookie: false); string continueUrl = RegisterUser.ContinueDestinationPageUrl; if (!OpenAuth.IsLocalUrl(continueUrl)) { continueUrl = "~/"; } Response.Redirect(continueUrl); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)