I am using two forms, one form contains a DGV, the other contains some textboxes.
I take each textbox.text from the second form and store it in an array, I then insert each string in this array into a different column in the DGV (the row inserted into is static) on the first form.
This all works fine and the DGV alters the fields which I changed and displays updated information. The problem occurs when it comes to saving these changes back to my Access Database (using a CommandBuilder). When I save the changes, the changes I made are completely ignored and upon repoulating the DGV from scratch it displays the old information. However, if after applying the array to the DGV and I enter any of the cells, then save, then repopulate, everything is exactly as it should be.
I've tried a lot of things to fix this, all of which have been unsuccessful so far, hence, I am posting!
Thanks in advance
I take each textbox.text from the second form and store it in an array, I then insert each string in this array into a different column in the DGV (the row inserted into is static) on the first form.
This all works fine and the DGV alters the fields which I changed and displays updated information. The problem occurs when it comes to saving these changes back to my Access Database (using a CommandBuilder). When I save the changes, the changes I made are completely ignored and upon repoulating the DGV from scratch it displays the old information. However, if after applying the array to the DGV and I enter any of the cells, then save, then repopulate, everything is exactly as it should be.
I've tried a lot of things to fix this, all of which have been unsuccessful so far, hence, I am posting!
Thanks in advance