2013年10月30日
摘要: aspx中代码:(注意:在上行代码中别忘了写 ValidateRequest="false") 阅读全文
posted @ 2013-10-30 18:45 小菜鸟—— 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 实现如图效果 图片将自动转换鼠标指向右边的图片在左边的大图位置显示相应的图片 无标题文档 //这些文字是在图片左下角显示的文字 真漂亮 好看 色彩斑斓 温馨 ... 阅读全文
posted @ 2013-10-30 18:44 小菜鸟—— 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 实现如图效果上一篇:select top 1 * from Table where idid 阅读全文
posted @ 2013-10-30 18:42 小菜鸟—— 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 在Web.config中写: ~/index.html //索要更改的页面 ~/index.aspx //没有参数的情况下 ~/Help/newPro(\d*)\.html // (\d*) 表示参数 ~/Help/newPro.aspx?pNum=$1 //有一个参数的情况下 ~/Help/AboutJiangHujia(\d*)_(\d*)\.html //有多个参数的情况下 这样... 阅读全文
posted @ 2013-10-30 18:41 小菜鸟—— 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 先定义一个缓存变量int cacheMinute = int.Parse(System.Web.Configuration.WebConfigurationManager.AppSettings["ModelCache"]); //缓存时间(分钟) 在需要设置缓存的上边写红色代码 string cacheKey = "kdp-newPro-" + pNum; object objCache = clsUtility.GetCache(cacheKey); if (objCache == null) { string sort = "... 阅读全文
posted @ 2013-10-30 18:39 小菜鸟—— 阅读(165) 评论(0) 推荐(0) 编辑