Update on databound datagrid not updating Sex chat from andhra phn

Incidentally, I've had other problems with the "C# Professional Projects" book (the underlying database for the above project is assumed to exist and be accessible, but no details given).

update on databound datagrid not updating-63

Event Args e) private void btn Save_Click (object sender, System.

Event Args e) If the book is indeed wrong, I plan to still work through the projects (as idea generators) but use "Programming C#" (Liberty) for support, which seems like a better book.

Here are the code fragments for loading and saving the data: private void btn Edit_Click (object sender, System.

Event Args e) private void btn Save_Click (object sender, System. Any constructive help is much appreciated, Patrick Hello Patrick, The code snippets you've provided are OK.

Combobox shows list of Users and 3 textboxes should contain details about the selected user in the combobox.

For selected user I have a special attribute (as shown below) which I am using as data source. When the form is shown, changing user in combobox has no effect.

Event Args e) If the book is indeed wrong, I plan to still work through the projects (as idea generators) but use "Programming C#" (Liberty) for support, which seems like a better book. The problem is most likely in that you have to force the databinding framework to puch the updated values from the bound controls to the underlying datasource.

Incidentally, I've had other problems with the "C# Professional Projects" book (the underlying database for the above project is assumed to exist and be accessible, but no details given). This is done automatically when you change the current record, but this might be not the case in your program.

I've read many posts concerning this (and the MS KB as well), and most seem to say that databound text boxes must use a Data Row object (in addition to connection, data adapter, and dataset objects), and therefore not as simple as a datagrid.

Based on what I've read, I'm inclined to believe that the book is wrong.

(); Products products; public Bill Class() public void Add Products(int _pid, int _quantity, decimal _price, string _desc) public bool Remove Product(int _id) public void Edit Products(int _pid, int _quantity) public List I have binded this "Product List" to wpf datagrid.