If you want to display the latest data, you need to set it up on the page and cancel the cache.
Add the following code in the Head tag of the showModalDialog page:
This way the page will not be cached. This ensures that after the data is modified, the latest data will be displayed when the page is opened again.
HTML aspects
Prohibit the browser from loading from the local cache Read the page.
Web pages are not saved in the cache and the page is refreshed every time you visit.
Same meaning as above, the page must be reloaded
The expiration time of the web page in the cache is 0. Once the web page expires, it must be resubscribed from the server.
.NET aspect
Response.Expires = -1;