Hello,
Ive got a form with a datagridview, if i press the mouse button on a record some textfields are filled with the data of that row.
You can change the data in the textfields, and press a button to save the changes. The result is that the changes are saved into the MDB database.
But my datagridview doesnt wanne show the new data. Only if i restart the whole program. Ill tried dataviewgrid1.refresh(), but that doesnt help me.
Both do use another connection to the database.
The datagridview is build with the wizzard.
The save function is in a class.
How can i refresh or close and open the databaseconnection ?
The datasource of the dataviewgrid is: productenCategorieBindingSource1
Thnx
Jelmer
Ive got a form with a datagridview, if i press the mouse button on a record some textfields are filled with the data of that row.
You can change the data in the textfields, and press a button to save the changes. The result is that the changes are saved into the MDB database.
But my datagridview doesnt wanne show the new data. Only if i restart the whole program. Ill tried dataviewgrid1.refresh(), but that doesnt help me.
Both do use another connection to the database.
The datagridview is build with the wizzard.
The save function is in a class.
How can i refresh or close and open the databaseconnection ?
The datasource of the dataviewgrid is: productenCategorieBindingSource1
Thnx
Jelmer