[SOLVED] Updating a datagridview every x second\minutes

Answered
0
0

I’m trying to update a vanilla datagrid view from the same source, a database in Mysql with the same query, but without luck, i’ve tried to use drop the datasource and reload it, nothing.
Obviosly in the mean times i changed the records in the database for see the effect

  • You must to post comments
Good Answer
0
0

nvm solved.

I rebinded the datasource like Huv adviced

  • You must to post comments
-1
0

Any change to the data source is reflected in the grid automatically. Recreating the data source doesn’t do anything unless you assign it back to the datagrid. Can you send a small test case showing the code you are using?

  • Jacob Richardson
    hi, i’m sorry but is not possible for me to create a test file, it contain reserved info, anyway i’ve used the standard method to populate the grid, download the datasource from the database then binding it with the grid
  • You must to post comments
1
0

try to drop the datagrid then recraete a new one with the same option and update datasource

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.