上一页 1 2 3 4 5 6 7 8 ··· 11 下一页

2010年8月30日

摘要: 1.组名 () 这样的用索引 \1,(?<name>) \<name>来引用2.替换 $\1,${name}Regex.Replace(userInputString,"(Mr|Mrs)[a-z]*","$1 X");Regex.Replace(userInputString,"(?<name>Mr|Mrs)[a-z]*","${name} X");(?(exp... 阅读全文
posted @ 2010-08-30 21:25 jianshaohui 阅读(534) 评论(2) 推荐(0) 编辑

2010年8月25日

摘要: 则表达式是处理字符串的常用工具。在C#中,我们一般使用Regex类来表示一个正则表达式。一般正则表达式引擎支持以下3种匹配模式:单行模式(Singleline)、多行模式(Multiline)与忽略大小写(IgnoreCase)。1. 单行模式(Singleline)MSDN定义:更改点 (.) 的含义,使它与每一个字符匹配(而不是与除 \n 之外的每个字符匹配)。使用单行模式的典型场景是获取网页... 阅读全文
posted @ 2010-08-25 23:01 jianshaohui 阅读(990) 评论(0) 推荐(0) 编辑

2010年8月23日

摘要: http://www.tzwhx.com/newOperate/html/1/11/114/19468.html 阅读全文
posted @ 2010-08-23 10:11 jianshaohui 阅读(141) 评论(0) 推荐(0) 编辑

2010年8月17日

摘要: http://blog.lixiphp.com/online-seo-html-css-js/http://www.cssdrive.com/index.php/main/csscompressor/ css压缩http://javascriptcompressor.com/ js压缩http://www.radys.cn/article.asp?id=77 js插件http://coffeescripter.com/code/ad-gallery/ 相册插件http://topic.csdn.net/u/20100705/09/d270754c-6f5d-4864-84b2-5d4013ca 阅读全文
posted @ 2010-08-17 14:03 jianshaohui 阅读(361) 评论(0) 推荐(0) 编辑

2010年8月13日

摘要: js代码(function($) { $.fn.extend({ ajaxPager: function(options) { var defaults = { startPage: 1, PagesCount: 10, ChangeSiteEvent: null, ShowFirstLast: false, ShowGoBack: true }; var options = $.extend(d... 阅读全文
posted @ 2010-08-13 15:16 jianshaohui 阅读(279) 评论(0) 推荐(0) 编辑

2010年8月12日

摘要: function showimg(ele) { ele.src = "http://cm.aqioo.com/Styles/Expert/images/default120.gif";}<img cg width="100" height="100" alt='<%= model.model.Topic %>' src='<%=imgpath+"/"+model.model... 阅读全文
posted @ 2010-08-12 12:10 jianshaohui 阅读(295) 评论(0) 推荐(0) 编辑

2010年8月11日

摘要: public void OnActionExecuting(ActionExecutingContext filterContext) { string userName = filterContext.ActionParameters["userName"].ToString(); if (!string.IsNullOrEmpty(userName)) { RouteData rd = fil... 阅读全文
posted @ 2010-08-11 19:14 jianshaohui 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 1.首先存一个拼音表create table Sys_PinYin(id int identity(1,1) primary key,Py nvarchar(50),Word nvarchar(50))insert into Sys_PinYin(Py,Word)select * from(select 'a' as py,N'厑' as wordunion all select 'ai',N'靉... 阅读全文
posted @ 2010-08-11 10:10 jianshaohui 阅读(521) 评论(0) 推荐(0) 编辑

2010年8月9日

摘要: $(function() {$.ajax({url: "http://****.***.com/***.html?callback=?",dataType: "jsonp",jsonp: 'callback'});}); public ContentResult ***() { int state = 0; if (HttpContext.User.Identity.IsAuthenticate... 阅读全文
posted @ 2010-08-09 14:22 jianshaohui 阅读(184) 评论(0) 推荐(0) 编辑

2010年7月29日

摘要: row_number()over(partitionby...orderby...)rank()over(partitionby...orderby...)dense_rank()over(partitionby...orderby...)count()over(partitionby...orderby...)max()over(partitionby...orderby...)min()ove... 阅读全文
posted @ 2010-07-29 23:12 jianshaohui 阅读(150) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页

导航