Loading

上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 39 下一页
摘要: 对于1个单引号,则转义该单引号 对于1个反斜杠跟1个单引号,则不管它。 对于2个及以上的反斜杠加一个单引号,则分别对每个反斜杠和单引号都进行转义,即 使反斜杠数目保持不变, 并转义单引号。 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->... 阅读全文
posted @ 2008-11-19 21:43 .net's 阅读(1544) 评论(0) 推荐(0)
摘要: GridView export to excel 格式参考 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->mso-number-format:"0" NO Decimals mso-number-format:"0\.000" 3 D... 阅读全文
posted @ 2008-11-19 15:32 .net's 阅读(2521) 评论(3) 推荐(0)
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->private void GridViewToExcel() { HttpContext.Current.Response.Clear(); HttpCo... 阅读全文
posted @ 2008-11-18 20:31 .net's 阅读(412) 评论(0) 推荐(0)
摘要: 反向引用,指把匹配出来的组引用到表达式本身其它地方,比如,在匹配HTML的标记时,我们匹配出一个<a>,我们要把匹配出来的a引用出来,用来找到</a>,这个时候就要用到反向引用。 语法 a、反向引用编号的组,语法为\number b、反向引用命名的组,语法为\k<name> 举例 a、匹配成对的HTML标签 @"<(?<tag>[^\s>]+)[^>]*... 阅读全文
posted @ 2008-11-16 21:29 .net's 阅读(471) 评论(0) 推荐(0)
摘要: 前言 Regular Expressions(正则表达式,以下用RE称呼)对小弟来说一直都是神密的地带,看到一些网络上的大大,简单用RE就决解了某些文字的问题,小弟便兴起了学一学RE的想法,但小弟天生就比较懒一些,总希望看有没有些快速学习的方式,于是小弟又请出Google大神,藉由祂的神力,小弟在网络上找到了Jim Hollenhorst先生的文章,经过了阅读,小弟觉得真是不错,所以就做个小心... 阅读全文
posted @ 2008-11-16 21:17 .net's 阅读(464) 评论(0) 推荐(0)
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Bad Words Example Enter some text below including "bad... 阅读全文
posted @ 2008-11-16 17:46 .net's 阅读(920) 评论(0) 推荐(0)
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Trim Example Enter some text containing leading and ... 阅读全文
posted @ 2008-11-16 16:50 .net's 阅读(676) 评论(0) 推荐(0)
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * 将回车换行分开比较好 * update date:2009-01-01 * */ /// /// 回车 /// ... 阅读全文
posted @ 2008-11-16 14:57 .net's 阅读(876) 评论(3) 推荐(0)
摘要: 有些命令是在调试下才可用,有些则在编写程序时可用。 用alias可以列出所有命令 >alias Visual Studio 命令和开关 Visual Studio 命令允许从键盘与集成开发环境 (IDE) 直接进行交互。IDE 内的许多对话框、窗口和菜单命令都有命令行等效项,可以将其键入“命令”窗口、即时窗口或“查找/命令”框中,以显示一个对话框或执行一个命令。 Visual Stu... 阅读全文
posted @ 2008-11-14 23:44 .net's 阅读(1110) 评论(0) 推荐(0)
摘要: 在调试时,即时窗口(Immediate Window)非常有用。 在调试时,调出即时窗口 visual studio 2005 :Ctrl+Alt+I 或则 Ctr+D,I visual studio 2008 : Ctrl+Alt+I visual studio 2003 : Ctrl+Alt+I 阅读全文
posted @ 2008-11-14 23:21 .net's 阅读(1977) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 39 下一页