encodeURI()decodeURI()
摘要:js里面的encodeURI()对应C#System.Web.HttpUtility.UrlEncode("", System.Text.Encoding.GetEncoding("gb2312"))decodeURI()对应C#中System.Web.HttpUtility.UrlDecode("%B1%E0%C2%EB", System.Text.Encoding.GetEncoding("G...
阅读全文
posted @
2010-06-29 17:24
wsenmin
阅读(5444)
推荐(1)
很高兴今天学了点新东西,关于Cache
摘要:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--privateSystem.Web.Caching.CacheItemRemovedCallbackcacheCallBack;//先声明一个删除缓存的委托cacheCallBack=newSyst...
阅读全文
posted @
2010-06-25 15:35
wsenmin
阅读(299)
推荐(0)
最近做拼XML,注意2点
摘要:1.StringBuilder这个东西在调试的时候,如果过长就只显示一半,我还以为是长度限制,郁闷半天╮(╯▽╰)╭2.xml有5个特殊字符串要过滤的代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.c...
阅读全文
posted @
2010-06-18 11:24
wsenmin
阅读(604)
推荐(0)
* setInterval clearInterval * 用法
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>runcode</title><me...
阅读全文
posted @
2010-06-13 14:30
wsenmin
阅读(495)
推荐(0)
转载 .net面试题大全(有答案)
摘要:http://www.cnblogs.com/chjun2000/archive/2010/01/10/1643727.html
阅读全文
posted @
2010-06-11 13:52
wsenmin
阅读(256)
推荐(0)
Javascript 调用后台方法
摘要:http://www.cnblogs.com/zhoufeng/archive/2010/06/09/Javascript.html 注意:1。没有返回值的函数, 再JS里面是不能调用的,操作数据库的方法,只能用ajax来调用2. 掉后台函数,传参的办法 public string ss(string ssValue) { return ssValue; }上面是C#,下面是JS <scri...
阅读全文
posted @
2010-06-11 13:46
wsenmin
阅读(398)
推荐(0)
[原创]正则匹配
摘要:[代码]以上是JS的包含正则 ,search 确定一个字符串是否包含另外一段字符------------------------------------------------------------------C#的正则表达式代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHigh...
阅读全文
posted @
2010-06-11 13:28
wsenmin
阅读(361)
推荐(0)
jQuery注意事项
摘要:http://www.cnblogs.com/micccn/archive/2010/06/07/1753055.html 加一点:document.execCommand("stop");停止执行文档加载. 适用情况: <input onserverclick="btnSave_Click" type="button" runat="server" value="保存" /> ...
阅读全文
posted @
2010-06-08 09:22
wsenmin
阅读(230)
推荐(0)
绕绕选择器-wenmin
摘要:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<html><headrunat="server"><title>绕绕选择器-wenmin</title><scriptsrc="Scripts...
阅读全文
posted @
2010-06-07 09:17
wsenmin
阅读(201)
推荐(0)