如何在Global.asax中重新启动Application_Start [英] How to Restart the Application_Start in Global.asax
本文介绍了如何在Global.asax中重新启动Application_Start的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Global.asax将一些信息从数据库加载到系统。如果我向表中添加了新记录,是否可以在Global.asax中重新启动Application_Start以获取最新更新。此功能正在进行自动更新控制。
I am loading some information from the Database to the system using Global.asax. IF I added new records to the table, Is it possible to Restart Application_Start in Global.asax to get the latest updates. This function am doing for auto update control.
推荐答案
您好,
对任何一个进行更改文件和重建。这会导致application_start事件再次触发。
Hi,
Make changes to any of the files and rebuild. This causes application_start event to fire again.
这篇关于如何在Global.asax中重新启动Application_Start的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文