Loading

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 52 下一页
摘要: js页面跳转方法大全 自己的: function toUrl(ul){ if("" == ul || null==ul){ alert("感谢关注"); }else{ window.open(ul);//这是跳出新的窗口 // window.location.href=ul;//这是直接在当前页跳转 } return; } 其他的网上的:(有重复) 1.在原来的窗体中直接跳转用 window.lo... 阅读全文
posted @ 2010-01-28 16:28 today4king 阅读(11548) 评论(0) 推荐(0) 编辑
摘要: using Image = System.Drawing.Image; 在Page_Load里调用下面代码,然后直接调用这个页面的url就是生成的图片了. Image image = Image.FromFile(Server.MapPath("~/background.png")); Graphics g = Graphics.FromImage(image); try { /// //... 阅读全文
posted @ 2010-01-26 16:13 today4king 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Web.Config <globalization responseEncoding="gb2312"/> CS文件 using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls... 阅读全文
posted @ 2010-01-23 15:14 today4king 阅读(2013) 评论(0) 推荐(0) 编辑
摘要: string week = DateTime.Today.ToString("yyyy年MM月dd日 dddd", new System.Globalization.CultureInfo("zh-CN")); 阅读全文
posted @ 2010-01-22 17:30 today4king 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 日复一日的编写代码,有没有感到审美疲劳?也许些许的改变就能让我们感到生活更美好。 换一种编程字体吧!体验一种新的代码感觉。 下面我眼中的十大编程字体: 10. Courier 基本上所有的系统都自带了此种字体,有时候它又以Courier New的名字出现。不幸的是很多终端和编辑器都默认使用此种字体,虽然这不会影响使用,但这会影响心情,它太枯燥了。以前看到这样一句评论:久不见牡丹会 以仙人掌为... 阅读全文
posted @ 2010-01-21 10:15 today4king 阅读(4199) 评论(3) 推荐(0) 编辑
摘要: Upgrading to IIS 7 should be rather transparent, unfortunately that is not the case when it comes to URL rewriting as we knew it from IIS 6. In IIS 6 all we had to do was to add a wildcard mapping mak... 阅读全文
posted @ 2010-01-16 16:02 today4king 阅读(423) 评论(0) 推荐(0) 编辑
摘要: People often ask me for guidance on how they can dynamically "re-write" URLs and/or have the ability to publish cleaner URL end-points within their ASP.NET web applications. This blog post summarizes ... 阅读全文
posted @ 2010-01-16 16:01 today4king 阅读(396) 评论(0) 推荐(0) 编辑
摘要: http://open-open.com/ 阅读全文
posted @ 2010-01-16 15:50 today4king 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 一、URL Rewrite URL Rewrite是截取传入Web 请求并自动将请求重定向到其他URL的过程。 比如浏览器发来请求hostname/101.aspx ,服务器自动将这个请求中定向为http://hostname/list.aspx?id=101。 URL Rewrite的优点在于: 1. 缩短URL,隐藏实际路径提高安全性 2. 易于用户记忆和键入 3. 易于被搜索引擎收录 有很多... 阅读全文
posted @ 2010-01-16 14:55 today4king 阅读(1514) 评论(0) 推荐(0) 编辑
摘要: 起因:最近看CMS,为了适应极度变态的需求~~直接贴图:源代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSy... 阅读全文
posted @ 2009-12-24 18:05 today4king 阅读(299) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 52 下一页