I´m having a problem with a databound DataGridView:
I´m using a view including inner joins from an SQL-Server Database as Datasource. When I insert rows programmatically the Data is written correctly, but the DataGridView is not displaying the data it´s supposed to display.
Some of the Columns in the View are joined with another table. Basically I join ID-values in the main table with sub tables to be able to display the text value of the column instead. When I insert the rows containing the id values into the GridView, it displays the ID-value, but not the corresponding text value.
If I restart the program everything is displayed correctly. How do I update/refresh the GridView to show the correct text values? I´ve tried GridView.EndEdit() and GridView.Refresh(), rebindung the Datasource to the GridView and also have been searching the web without success.