hao_2468

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2009年9月11日

摘要: create FUNCTION f_GetMonthDay ( @year int, @month int )RETURNS intAS BEGIN Declare @Ret_V int Declare @tmpDate datetime if @month>12 begin set @year=@year+1 set @month=@month-12 end SET @tmpD... 阅读全文
posted @ 2009-09-11 11:53 hao_2468 阅读(122) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2009-09-11 11:52 hao_2468 阅读(198) 评论(0) 推荐(0) 编辑

摘要: /// /// 字符串加密 /// /// 明文 /// 密文 public static string Encrypt(string original) { byte[] buff = System.Text.Encoding.Default.GetByt... 阅读全文
posted @ 2009-09-11 11:51 hao_2468 阅读(173) 评论(0) 推荐(0) 编辑

摘要: 匹配双字节字符(包括汉字在内):[^\x00-\xff]匹配空行的正则表达式:\n[\s| ]*\r匹配HTML标记的正则表达式:/.*|/匹配首尾空格的正则表达式:(^\s*)|(\s*$)匹配Email地址的正则表达式:\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*匹配网址URL的正则表达式:http://([\w-]+\.)+[\w-]+(/[\w- ... 阅读全文
posted @ 2009-09-11 11:49 hao_2468 阅读(114) 评论(0) 推荐(0) 编辑

摘要: window.history.go(0) window.location.reload() window.location.href=location.href window.location.assign(location.href) document.execCommand('Refresh') window.navigate(location... 阅读全文
posted @ 2009-09-11 11:47 hao_2468 阅读(400) 评论(0) 推荐(0) 编辑