![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ASP.NET
yuyichen2009
俞亦宸的博客(yuyichen.com)-开发者技术天堂,源自ASP.NET(C#)!
展开
-
防止ASP.NET按钮多次提交代码
1.2.对“添加”、“提交”、“保存”、“更新”等按钮需要对数据库进行写操作的按钮,一定要在页面初始化时加载脚本,防止多次重复点击,例如: protected void Page_Load(object sender, EventArgs e) { //.net1.1 Button1.Attributes.Add(原创 2009-11-27 00:36:00 · 328 阅读 · 0 评论 -
推荐一个ASP.NET的资源网站
推荐一个ASP.NET的资源网站:ASP.NET屋-专业的ASP.NET学习,ASP.NET源码,ASP.NET演示,MVC,Silverlight,JQuery,EXTJS,软件设计网站http://www.aspx58.com.cn/原创 2009-11-26 23:34:00 · 587 阅读 · 0 评论 -
ASP.NET(C#) 定时执行一段代码
在Global.asax启动一条线程就ok了,下面是启动线程定时写文件的例子 Global.asax C# code Code 1C#" %> 2 3 4 5 string LogPath; 6 Thread thread; 7 void WriteLog() 8 { 9 while (转载 2009-11-27 00:52:00 · 316 阅读 · 0 评论