Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

How to refresh a DataGridView object with data from MySql table...

$
0
0

I have Windows form with DataGridView object connected to a single MySql table with a simple query like "Select * from People;"

If a user is in the form and another updates other rows in the table, the only way the user can currently see that is to exit the form and reload.  I have tried various schemas, using a DataBinding object, and not, kicking Grid.refresh();  Grid.ResetBindings(); and some other "tricks" from various posts, but nothing seems to work.

I am missing something.  A link to a good example of getting this done would be much appreciated!


Viewing all articles
Browse latest Browse all 1764

Trending Articles