上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 47 下一页

MD5加密以及验证加密-加盐

摘要: 加密与解密算法:/// /// 签名字符串 32位/// /// 要加密的字符串/// 加盐值/// public static string Sign(string prestr, string Key){ System.Security.Cryptography.MD5 md5 = Sys... 阅读全文
posted @ 2015-08-14 16:12 ultrastrong 阅读(1342) 评论(0) 推荐(0)

向服务器写入错误日志-log

摘要: /// /// 写日志,方便测试(看网站需求,也可以改成把记录存入数据库) /// /// 要写入日志里的文本内容 public static void LogResult(string sWord) { ... 阅读全文
posted @ 2015-08-14 16:07 ultrastrong 阅读(377) 评论(0) 推荐(0)

JS - 侧边导航收缩伸展

摘要: 下载地址:http://www.lanrentuku.com/js/daohang-1162.html 阅读全文
posted @ 2015-08-08 18:53 ultrastrong 阅读(267) 评论(0) 推荐(0)

JS - 6款鼠标悬停效果

摘要: 下载地址:http://www.lanrentuku.com/js/tupian-1093.html 阅读全文
posted @ 2015-08-08 18:39 ultrastrong 阅读(554) 评论(0) 推荐(0)

JS - 鼠标经过边框旋转

摘要: *右侧为鼠标经过时效果。下载地址:http://www.lanrentuku.com/js/tupian-1200.html 阅读全文
posted @ 2015-08-08 18:34 ultrastrong 阅读(482) 评论(0) 推荐(0)

JS - 图片放大器

摘要: 下载地址:http://www.lanrentuku.com/js/tupian-1170.html 阅读全文
posted @ 2015-08-08 18:33 ultrastrong 阅读(284) 评论(0) 推荐(0)

JS - 全屏滚动

摘要: 下载地址:http://www.lanrentuku.com/js/quanping-1141.html 阅读全文
posted @ 2015-08-08 18:24 ultrastrong 阅读(203) 评论(0) 推荐(0)

JS - 焦点图

摘要: 下载地址:http://www.lanrentuku.com/js/jiaodiantu-1076.html修改焦点图:CSS代码:/* 懒人图库 搜集整理 www.lanrentuku.com *//*焦点图*//*-------------------------------此处修改整体的大小(... 阅读全文
posted @ 2015-08-08 17:56 ultrastrong 阅读(332) 评论(0) 推荐(0)

ASP.NET - 在类中如何使用 Server.MapPath

摘要: 直接在类中使用 Server.MapPath 会出现错误,这是由于类中不能直接使用 System.Web.UI.Page 的非静态函数造成的。解决方法有两种:方法一、为类增加继承class CFoo: System.Web.UI.Page方法二、利用上下文直接使用System.Web.HttpCon... 阅读全文
posted @ 2015-08-04 11:40 ultrastrong 阅读(430) 评论(0) 推荐(0)

ASP.NET - 上传图片方法(单张)

摘要: /// /// 上传图片/// /// 上传的控件/// 要存储的文件夹(要在服务器已经存在)/// 图片名称/// public string UploadImage(FileUpload fileupload, string folder, string imageName){ Boole... 阅读全文
posted @ 2015-08-04 10:44 ultrastrong 阅读(327) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 47 下一页