11 2009 档案
摘要:添加1、向Loginfo中添加新列“newcomlum1” ,int型,ALTER TABLE Loginfo ADD newcomlum1 int NULL 2、表:LogInfo代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com...
阅读全文
摘要:1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键<table border oncontextmenu=return(false)><td>no</table> 可用于Table2. <body onselectstart="return false"> 取消选取、防止复制3. o...
阅读全文
摘要:在Global.asax启动一条线程就ok了,下面是启动线程定时写文件的例子 Global.asax C# code [代码]很不错的网盘(http://ww618.com/-旺旺618 祝博友们每天旺,每天发。-_-)
阅读全文
摘要:以下是 .NET 2.0框架安装时(系统为Windows 2000 Server)与配置相关需要验证的五项:I、验证是否安装了 Microsoft Internet Explorer 5.01 或更高版本;II、验证是否安装了 Microsoft Windows Installer 2.0:作为核心操作系统 WindowsXP 和 Windows Server 2003 系统上安装此组件。 要验证...
阅读全文
摘要:DATEDIFF 函数 [日期和时间] 作用 返回两个日期之间的间隔。 语法 DATEDIFF ( date-part, date-expression1, date-expression2 ) date-part : year | quarter | month | week | day | hour | minute | second | mil...
阅读全文
摘要:DriveInfo[] allDrive = DriveInfo.GetDrives();//获取一个DriveInfo对象数组,代表当前计算机的所有逻辑分区 foreach (DriveInfo item in allDrive) { if (item.IsReady)//验证磁盘空间是否可读,一免不可读的异常。 { if (item.Name.ToUpper().ToString() == "...
阅读全文
摘要:网络安全工具软件BlackICE的使用和设置说明简介(转) BlackICE 在九九年获得了PC Magazine的技术卓越大奖,专家对它的评语是:“对于没有防火墙的家庭用户来说,BlackICE是一道不可缺少的防线;而对于企业网络,它又增加了一层保护措施。它并不是要取代防火墙,而是阻止企图穿过防火墙的入侵者。BlackICE集成有非常强大的检测和分析引擎,可以识别200多种入侵技巧...
阅读全文
摘要:XmlDocument doc = new XmlDocument();//创建出头XmlNode Declarenode=doc.CreateNode(XmlNodeType.XmlDeclaration, "", "");doc.AppendChild(Declarenode); XmlElement BookStareelement=doc.CreateElement("BookStore...
阅读全文
摘要:1、^(-)?(\d+|,\d{3})+(\.\d{0,4})?$^(-)?(\d+|,\d{3})+(\.\d{0,mumber})?$货币验证,小数点后几位取决于{0,number}中的mumber\d+(\.\d\d)?货币验证:小数点后两位验证正则表达式30分钟入门教程http://unibetter.com/deerchao/zhengzhe-biaodashi-jiaocheng-se...
阅读全文
摘要:public void showScript(string pMessage) { this.ClientScript.RegisterStartupScript(this.GetType(), "", "<script language = javascript>alert('" + pMessage + "')</script>"); //脚本 Type cstype ...
阅读全文
摘要:1、GridView1_RowDataBoundprotected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { //这里的处理是为了回显之前选中的情况 if (e.Row.RowIndex > -1 && this.SelectedItems != null) { DataRowVi...
阅读全文
摘要:一、绿色版tomcat 5.5.20第一句不带引号set CATALINA_HOME=C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.20第二句call "C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.20\bin\service.bat" in...
阅读全文
摘要:1、数据源,继承java.sql.datasource,属于dbcp连接池中的数据源。2、DBCP是用来培植连接池的需要的包:Commons-Pool (下载地址:http://jakarta.apache.org/commons/pool/)提供了一个一般对象池的连口,而且包含实现了通常池工具箱。Commons-DBCP(下载地址:http://jakarta.apache.org/common...
阅读全文
浙公网安备 33010602011771号