Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7807521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:52:38+00:00 2026-06-02T02:52:38+00:00

here i am working on mvvm .i want to notify uodate in datgrid if

  • 0

here i am working on mvvm .i want to notify uodate in datgrid if any change in textbox occur.what is the code for that?

 public void Save()
        {if (IsNew)
                _accountCategoryDataSource.Add(_accountCategory);

the above code for add data in database

and below code for loading data in datagrid for viewing

private void LoadAllAccounts()
        {
            _allAccounts =
                (from account in _accountDataSource.GetAll() as List<Account>
                 select new AccountViewModel(account, _accountDataSource)).ToList();
            Accounts = new ObservableCollection<AccountViewModel>(_allAccounts);

            if (Accounts.Count > 0)
                SelectedAccount = Accounts[0];
        }`

BUT i can not have code for showing update in datagrid how it is done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:52:39+00:00Added an answer on June 2, 2026 at 2:52 am

    Is your datagrids ItemsSource property bound to that collection of Accounts? If so, do your Account class and AccountViewModel class implement INotifyPropertyChanged. If it does not, you must implement that interface to get changes propagated to the UI.

    Take a look here for more info:
    http://msdn.microsoft.com/en-us/library/ms743695.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

here is working java code class Cup { public String sayColor() { return i
I have the code here working fine except that all the non-power of 2
I got the converter working here public class ImageProcessor { public static void Base64TImage(String
Working with the MVVM pattern, I have a pair of view model classes that
Original code: (can be seen working here: http://sandbox.hokuten.net/jqrpg/ ) /* google.setOnLoadCallback(function() { */ $(function()
What is preventing margin bottom from working here? http://jsfiddle.net/cq8VC/1/ I just want the active
Im working on a MVVM Windows phone app that displays weather info. When the
I'm currently working on a WPF application that uses MVVM. I've got a ListBox
This script is working here https://jsfiddle.net/ByEzF/ but in the site that stopping working: <script
Here is working code: p = (10..14).map { |a| (a..14).map { |b| a *

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.