摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem.Reflection;usingSystem.Collections;/**////<summary>///继承IComparer<T>接口,实现同一自... 阅读全文
摘要:
http://hi.baidu.com/anglecloudy/blog/item/23a7a5d9961d8b2b10df9b29.html 源自想要实现排序最重要的是:继承IComparer<T>接口,实现int IComparer<T>.Compare(T t1, T t2)方法。代码如下: /**//// <summary> /// 继承ICompare... 阅读全文
摘要:
//真正判断文件类型的关键函数 public static bool IsAllowedExtension(FileUpload hifile) { System.IO.FileStream fs = new System.IO.FileStream(hifile.PostedFile.FileName, System.IO.FileMode.Open, System.IO.FileAccess.... 阅读全文
摘要:
<!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><meta htt... 阅读全文
摘要:
相关CMD命令 1. gpedit.msc-----组策略 2. sndrec32-------录音机 3. Nslookup-------IP地址侦测器 4. explorer-------打开资源管理器 5. logoff---------注销命令 6. tsshutdn-------60秒倒计时关机命令 7. lusrmgr.msc----本机用户和组 8. ... 阅读全文
摘要:
set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgo ALTER PROCEDURE [dbo].[P_GetTopScoreRankByPage] @page int, @pageSize int, @outCount int OUTPUTAS BEGIN DECLARE @sql nvarchar(1000) DECLARE @ID bigint ... 阅读全文
摘要:
function isIdCardNo(num) { // if (isNaN(num)) {alert("输入的不是数字!"); return false;} var len = num.length, re; if (len == 15) re = new RegExp(/^(\d{6})()?(\d{2})(\d{2})(\d{2})(\d{2})(\w)$/)... 阅读全文
摘要:
部署在服务器上出现8000401a错误 解决方法 运行DCOMCNFG,DCOM策略,选择标识,取消交互用户,修改为启动用户 增加network service 用户,权限。 后台源码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usin... 阅读全文