摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///用于播放音乐///</summary>internalclassHelpers{[Flags]publicenumPlaySoundFlags:i... 阅读全文
posted @ 2010-07-01 11:56 风叙 阅读(162) 评论(0) 推荐(0)
摘要: /******* 导出到Excel EXEC master..xp_cmdshell ’bcp SettleDB.dbo.shanghu out c:\temp1.xls -c -q -S"GNETDATA/GNETDATA" -U"sa" -P""’ /*********** 导入Excel SELECT * FROM OpenDataSource( ’Mic... 阅读全文
posted @ 2010-07-01 11:54 风叙 阅读(135) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//数字转换成大写金额//例如:(newMoney(200)).ToString()=="贰佰元"namespaceSkyiv.Util{usingSystem.Text;classTest{stat... 阅读全文
posted @ 2010-07-01 11:50 风叙 阅读(155) 评论(0) 推荐(0)
摘要: UTF8[\x01-\x7f]|[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xff][\x80-\xbf]{3}UTF16[\x00-\xd7][\xe0-\xff]|[\xd8-\xdf][\x00-\xff]{2}JIS[\x20-\x7e]|[\x21-\x5f]|[\x21-\x7e]{2}SJIS[\x20-\x7e]|... 阅读全文
posted @ 2010-07-01 11:47 风叙 阅读(1140) 评论(0) 推荐(0)
摘要: 1.检测到有潜在危险的 Request.Form 值原因: (1)在提交数据的页面或webconfig中没有对validateRequest的属性进行正确的设置(2)HTML里面写了两个<form>引起解决: 方案一: 在.aspx文件头中加入这句: <%@ Page validateRequest="false" %> 方案二: 修改web.config文件:<co... 阅读全文
posted @ 2010-07-01 11:45 风叙 阅读(125) 评论(0) 推荐(0)
摘要: MD5加密代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem.Security.Cryptography;usingSystem.Text;#region加密密码,UserMd5(stringstr1)protectedstri... 阅读全文
posted @ 2010-07-01 11:37 风叙 阅读(290) 评论(0) 推荐(0)
摘要: Nslookup-------IP地址侦测器explorer-------打开资源管理器logoff--------注销命令tsshutdn-------60秒倒计时关机命令lusrmgr.msc----- 本机用户和组services.msc-----本地服务设置oobe/msoobe /a----检查XP是否激活notepad--------打开记事本cleanmgr-------**整理ne... 阅读全文
posted @ 2010-07-01 11:32 风叙 阅读(105) 评论(0) 推荐(0)
摘要: 拷贝表结构拷贝表结构[代码]跨服务器查询跨服务器查询代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----跨服务器查询如下:SELECTa.*,b.stor_NameFROMOPENROWSET('MSDASQL','DRIVER={SQLServe... 阅读全文
posted @ 2010-07-01 11:31 风叙 阅读(116) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//-----------------------自动上报数据-------------------int__stdcallAPIENTRYK1GetData(longcbAddress,inta_l... 阅读全文
posted @ 2010-07-01 11:25 风叙 阅读(219) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Security.Permissions;//权限判断usingMicrosoft.Win32;//操作注册表//[assembly:RegistryP... 阅读全文
posted @ 2010-07-01 11:23 风叙 阅读(244) 评论(0) 推荐(0)