Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Refreshing a DataGridView with live data (1 reply)

$
0
0
I have a C#.NET DataGridView in a form that displays rows for editing. The user leaves the form up and goes away for a few. When they come back, I would like to have the form updated with any data changed by another user. I would also like to have data entry to the grid to trigger the same update.

I have tried using the binding source object, calling <DataGridView object ref>.ResetBindings(); and .Refresh(); I have tried re-fetching the data into the DataSource object and re-associating its table to the DataGridView object.

I am missing something. A link to an example of how-to would be much appreciated.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>