1. Use the dataadapter.Fill to refresh the entire database.
2. If you used the DataAdapter Wizard then make sure that the Refresh Data Set is selected on the Advanced SQL Generation Options. This will automatically place a Select command to run after an Insert or Update to get the most up-to-date info back into your dataset. This can also be done by writing your own Update and Insert commands and adding the Select statements after those.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.