2007-12-27 10:31:34 阅读23 评论1 272007/12 Dec27
2007-12-26 16:54:50 阅读146 评论0 262007/12 Dec26
第一种方法:
不要用WEB控件中的BUTTON用HTML中的BUTTON可以解决这个问题:
具体如下:
在:HTML中,定义这样一个BUTTON
-------------------------
<input type="button" value="mybutton" onclick="this.disabled=true;" runat="server" id="mybutton" name="mybutton">
--------------------------------
然后在CODEBEHIND中,使用ServerClick事件,即:
2007-12-25 12:18:14 阅读25 评论0 252007/12 Dec25
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="" />
<meta name="keywords" content="" />
2007-12-20 11:26:27 阅读15 评论0 202007/12 Dec20
select dateadd(wk,-1,getdate()) 今天一周前的日期
select datediff(day,'2007-1-1',getdate()) 天数相减
2007-12-17 2:20:48 阅读57 评论0 172007/12 Dec17
//名称空间
using System;
using System.Security.Cryptography;
using System.IO;
using System.Text;