Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Refreshing form to display updated data

$
0
0
When I Run my program Form1 opens and displays data in DataViewGrids from various DB's.  To update any information, clicking Update button opens Form2 which gives the user options, which information to update.  After selecting which information to update, code executes to update the information in one or more DB's.  This works.  I want to refresh Form1 so that it selects and displays the updated data, essentially re-running the program, then close Form2.   What is the best way of doing this?  Does refreshing Form1 run the code in Form1?  So far, the only way of displaying the updated data is to manually close the program and re-run it.

Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>