摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem.Reflection;usingSystem.Collections;/**////<summary>///继承IComparer<T>接口,实现同一自... 阅读全文
posted @ 2010-03-31 00:48 Mating_luo 阅读(205) 评论(0) 推荐(0) 编辑
摘要: goole找的。[代码] 阅读全文
posted @ 2009-09-08 15:33 Mating_luo 阅读(599) 评论(4) 推荐(0) 编辑
摘要: http://hi.baidu.com/anglecloudy/blog/item/23a7a5d9961d8b2b10df9b29.html 源自想要实现排序最重要的是:继承IComparer<T>接口,实现int IComparer<T>.Compare(T t1, T t2)方法。代码如下: /**//// <summary> /// 继承ICompare... 阅读全文
posted @ 2009-08-27 23:12 Mating_luo 阅读(5524) 评论(0) 推荐(1) 编辑
摘要: //真正判断文件类型的关键函数 public static bool IsAllowedExtension(FileUpload hifile) { System.IO.FileStream fs = new System.IO.FileStream(hifile.PostedFile.FileName, System.IO.FileMode.Open, System.IO.FileAccess.... 阅读全文
posted @ 2009-08-27 15:15 Mating_luo 阅读(351) 评论(0) 推荐(0) 编辑
摘要: <!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... 阅读全文
posted @ 2009-05-26 02:51 Mating_luo 阅读(253) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-05-24 00:11 Mating_luo 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 相关CMD命令   1. gpedit.msc-----组策略   2. sndrec32-------录音机   3. Nslookup-------IP地址侦测器   4. explorer-------打开资源管理器   5. logoff---------注销命令   6. tsshutdn-------60秒倒计时关机命令   7. lusrmgr.msc----本机用户和组   8. ... 阅读全文
posted @ 2009-05-22 00:26 Mating_luo 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2009-03-23 16:21 Mating_luo 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 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)$/)... 阅读全文
posted @ 2009-03-17 10:42 Mating_luo 阅读(773) 评论(0) 推荐(0) 编辑
摘要: 部署在服务器上出现8000401a错误 解决方法 运行DCOMCNFG,DCOM策略,选择标识,取消交互用户,修改为启动用户 增加network service 用户,权限。 后台源码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usin... 阅读全文
posted @ 2009-03-11 17:08 Mating_luo 阅读(665) 评论(0) 推荐(0) 编辑