private void updateinfo(object sender, RoutedEventArgs e) { user obj = new user(); obj.Name = this.newName.Text; obj.Email = this.newEmail.Text; obj.Password = this.newPwd.Text; mainDal d = new mainDal(); d.update(obj, this.Name1); }
private void updateinfo(object sender, RoutedEventArgs e) { user obj = new user(); obj.Name = this.newName.Text; obj.Email = this.newEmail.Text; obj.Password = this.newPwd.Text; mainDal d = new mainDal(); d.update(obj, this.Name1); }