Update on databound datagrid not updating adult phone dating chat line

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.

I had the same problem earlier, but in that situation I had to change the cell's background colour at the same time that the value changed. I've seen this problem mentioned on a few message boards, but haven't seen a working answer to it yet.

The text boxes are successfully populated with data (from the database) and I can cycle through all the records. I've based this on the first sample project from the book "C# Professional Projects" (Premier Press).

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).

On my aspx page I use a popupmodalextender to show (and edit) some data that is contained in a gridview (gridview is on the same page).

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.

Leave a Reply