摘要: 新公司 新工作 阅读全文
posted @ 2008-07-09 13:07 猛鬼街 阅读(235) 评论(1) 推荐(0) 编辑
摘要: 使用环境:Windows XP Professional 开发平台:NET2.0,VS2005 已经过测试,实现了伪静态技术的实现,可以实现诸如Show.aspx?MyID=1成功转换为1.html的转换,现在将成果与大家分享一下: 阅读全文
posted @ 2008-07-03 16:58 猛鬼街 阅读(2000) 评论(1) 推荐(0) 编辑
摘要: URL 重写是截取传入 Web 请求并自动将请求重定向到其他 URL 的过程。 比如浏览器发来请求hostname/101.aspx ,服务器自动将这个请求中定向为http://hostname/list.aspx?id=101。 url重写的优点在于: 缩短url,隐藏实际路径提高安全性 易于用户记忆和键入。 易于被搜索引擎收录 二 实现url重写的基本方法 下载MS的URLRewriter.dll,放到你的web程序的bin下 下载地址1:http://www.rickel.cn/uploads/DevTools/MSDNURLRewriting.msi 下载地址2:download.microsoft.com/download/0/4/6/0463611e-a3f9-490d-a08c-877a83b797cf/MSDNURLRewriting.msi 阅读全文
posted @ 2008-07-03 16:48 猛鬼街 阅读(516) 评论(1) 推荐(0) 编辑
摘要: declare @TotalCount int declare @TotalPageCount intexec P_viewPage_A 'type1','*','id','','id asc',1,0,4,3,@TotalCount output,@TotalPageCount outputselect * from type1Create PROC P_viewPage_A/*nzperfec... 阅读全文
posted @ 2008-07-03 10:00 猛鬼街 阅读(2069) 评论(1) 推荐(0) 编辑
摘要: <!--function killErrors() {return true;}window.onerror = killErrors;//***********默认设置定义.*********************tPopWait=50;//停留tWait豪秒后显示提示。tPopShow=6000;//显示tShow豪秒后关闭提示showPopStep=20;popOpacity=95;... 阅读全文
posted @ 2008-07-02 09:01 猛鬼街 阅读(323) 评论(2) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.We... 阅读全文
posted @ 2008-06-28 10:51 猛鬼街 阅读(2208) 评论(1) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data;namespace pager{ public class Pager { /// <summary> /// /// </summary> /// <param name="strWhere">条... 阅读全文
posted @ 2008-06-28 10:48 猛鬼街 阅读(989) 评论(2) 推荐(0) 编辑