摘要:第一种(可以拿到url的controller名):微软已经提供了 非常方便的方法为什么 还要绕远路呢?ViewContext.RouteData.Route.GetRouteData(this.Context).Values["controller"]ViewContext.RouteData.Route.GetRouteData(this.Context).Values["action"]第二种:ViewContext.RouteData.Values["controller"]如果以上代码在.ascx中<%:this.Htm 阅读全文
href 不支持 this
2011-08-19 12:38 by 蜡笔小旧, 334 阅读, 0 推荐, 收藏,
摘要:<a href="javascript:delRow(this);" onclick="javascript:delRow(this);">href 不支持 this 阅读全文
[转]访问共享文件夹提示“未知的用户名或密码错误
2011-06-01 09:26 by 蜡笔小旧, 403 阅读, 0 推荐, 收藏,
摘要:http://think.lenovo.com.cn/htmls/knowledge/detail_12996253349681458.html 阅读全文
js路径
2011-05-27 11:47 by 蜡笔小旧, 309 阅读, 0 推荐, 收藏,
摘要:结论:html文件外部引入javascript时,javascript的当前路径是html的当前路径,而不是js文件的当前路径。css不同用的是当前路径。 阅读全文
毕业四年
2011-05-11 15:27 by 蜡笔小旧, 143 阅读, 0 推荐, 收藏,
摘要:cnblogs里面有编程十年的人,难以相信十年后的我会是什么样子。。。 恩,先做个记号。 序 我的第一份工作 我的短暂的第二份工作 无赖的第三份工作 百态的第四份工作 神奇的第五份工作 阅读全文
HTTP/1.0 和 HTTP/1.1 区别
2011-05-06 14:25 by 蜡笔小旧, 294 阅读, 0 推荐, 收藏,
摘要:refKey Differences between HTTP/1.0 and HTTP/1.1HTTP 1.1与HTTP 1.0的比较HTTP 1.1支持持久连接,在一个TCP连接上可以传送多个HTTP请求和响应,减少了建立和关闭连接的消耗和延迟 阅读全文
windows xp 页面文件配置与优化
2011-05-05 14:25 by 蜡笔小旧, 326 阅读, 0 推荐, 收藏,
摘要:The system is correctly configured to capture a Memory.dmp file if the computer experiences a kernel mode Stop Error.The paging file on the less frequently accessed partition is used most frequently because it is on a partition that is least busy.microsoft:How to configure paging files for optimizat 阅读全文
浙公网安备 33010602011771号