摘要: 数据操作类 SQLHelper.cs http://www.cnblogs.com/zengxiangzhan/archive/2009/12/31/1636871.html无限级分类 存储过程 http://www.cnblogs.com/zengxiangzhan/archive/2010/01/04/1639220.html百万级分页存储 http://www.cnblogs.com/zengxiangzhan/archive/2009/09/12/1565313.htmlSQL经典短小代码收集 http://www.cnblogs.com/zengxiangzhan/archive/2阅读全文
posted @ 2010-05-12 15:44 曾祥展 阅读(6015) 评论(17) 编辑
摘要: 1、国内最新最全面IP数据库 2、可根据IP获取用户使用线路(电信、网通、铁通、联通、移动)。 3、可根据IP查询到中国(内地、香港、澳门、台湾)所有省市区(镇)。 5、提供access版,sql版常用格式。 6、31个省+(香港/澳门/台湾);332个城市;2969个区(镇);近38w条国内国外IP。 下面的图是 记录访问者的ip 以及 地址 线路: ◆ 记录访问者IP地址及地区(...阅读全文
posted @ 2010-03-21 17:01 曾祥展 阅读(10441) 评论(40) 编辑
摘要: CKEditor3.6.2+CKFinder2.1 最新破解版: <%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %> <CKEditor:CKEditorControl ID="editor1" BasePath="./ckeditor/" runat="server"></CKEditor:CKEditorControl>阅读全文
posted @ 2010-03-10 16:29 曾祥展 阅读(23212) 评论(136) 编辑
摘要: 今天有个小web需要php环境运行,为了配置,下了番苦功!终于可以显示了: 我们知道php配置有几种:1、CGI方式加载PHP环境,通常就是IIS里面配置解释器为php.exe,早期比较常见,目前使用较少。 特点是:稳定,但效率太低。 2、ISAPI方式加载PHP环境,通常就是IIS里面配置解释器为php5isapi.dll,目前使用最多,应用最广。 特点是:多线程,效率较高,但不够稳定。 3、F...阅读全文
posted @ 2010-03-05 16:52 曾祥展 阅读(56575) 评论(45) 编辑
摘要: 文件上传 带进度条 多种风格 非常漂亮! 友好的提示 以及上传验证! 部分代码: upload.aspx:代码就不贴完了 直接打包下载吧!有关上传的都归类在这里了:http://www.cnblogs.com/zengxiangzhan/category/269831.html阅读全文
posted @ 2010-02-28 15:07 曾祥展 阅读(28054) 评论(111) 编辑
摘要: 淘宝商城首页 超酷的商品展示 特色 图片的随机排版 图片灯箱明暗 遮罩效果 jquery 效果如下: DIV结构: jquery实现: 调用:阅读全文
posted @ 2012-04-21 10:07 曾祥展 阅读(434) 评论(1) 编辑
摘要: andrewdavey-NotFoundMvc 链接 martijnboland-MvcPaging 链接 IPagedList.cs using System.Collections.Generic;namespace MvcPaging{ public interface IPagedList { int PageCount { get; ...阅读全文
posted @ 2012-03-30 22:06 曾祥展 阅读(337) 评论(0) 编辑
摘要: public class UserControlPageHelper : UserControl { protected IDictionary<string, object> ViewData { get { return (Dictionary<s...阅读全文
posted @ 2012-03-21 23:50 曾祥展 阅读(111) 评论(0) 编辑
摘要: AjaxFileUploader上传插件 兼容性好 Ie Chrome Firefoxhtml:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <titl阅读全文
posted @ 2012-02-12 23:58 曾祥展 阅读(1726) 评论(0) 编辑
摘要: if(!window.ZXZ){ZXZ={};}ZXZ.widget={};ZXZ.widget.pinyin={_pyvalue:["a","ai","an","ang","ao","ba","bai","ban","bang","bao","bei","ben","beng","bi","bian&quo阅读全文
posted @ 2012-02-12 16:06 曾祥展 阅读(444) 评论(0) 编辑
摘要: 弹出透明遮罩窗口插件,兼容性强,界面友好!调用: <script type="text/javascript"> $("#sg").html("恭喜你!真好运!获得Iphone 4s一部!"); $('#dialog1').dialog('open'); </script>Html: <div class="popWin" id="dialog1"> ...阅读全文
posted @ 2012-01-14 01:33 曾祥展 阅读(928) 评论(6) 编辑
摘要: 算法的复杂度就降低为 O(n) ,速度大大提高。需求:前后数据x条不动,中间随机删除N条记录实现: Dictionary<string, int> dictA = GetArrayListFromTxt(this.txtFileNameA.Text);Dictionary<string, int> dictB = GetArrayListFromTxt(this.txtFileNameB.Text);Dictionary<string, int> dictC= new Dictionary<string,int>();StringBuilder 阅读全文
posted @ 2011-10-30 21:46 曾祥展 阅读(294) 评论(1) 编辑
摘要: //添加async:false.即修改为同步//等ajax给bol赋值完毕后,才执行下面的js部分。而异步的话,还没有来得及赋值,就已经return了。 function vYes() { var bol = false; $.ajax( { type: "GET", url: "../aa.ashx", data: { txtVcode: $('#<%=txtV.ClientID%>').val() }, async: false, success: function (data) { ...阅读全文
posted @ 2011-10-20 17:39 曾祥展 阅读(502) 评论(0) 编辑
摘要: 漂亮 大气 不错的风格 提示后自动消失 javascript CSS样式: .zeng_msgbox_layer,.zeng_msgbox_layer .gtl_ico_succ,.zeng_msgbox_layer .gtl_ico_fail,.zeng_msgbox_layer .gtl_ico_hits,.zeng_msgbox_layer .gtl_ico_clear,.zeng_msgbox_layer .gtl_end{display:inline-block;height:54px;line-height:54px;font-weight:bold;fon...阅读全文
posted @ 2011-09-12 10:20 曾祥展 阅读(2145) 评论(5) 编辑
摘要: loading 加载提示 ······ 透明遮罩 居中 body{margin: 0;font-size: 12px;line-height: 100%;font-family: Arial, sans-serif;}.background {display: block;width: 100%;height: 100%;opacity: 0.4;filter: alpha(opacity=40);background:while;position: absolute;top: 0;left: 0;z-index: 2000;}.pr阅读全文
posted @ 2011-09-01 01:48 曾祥展 阅读(1064) 评论(8) 编辑
摘要: 效果图如下: javascript代码:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="tex阅读全文
posted @ 2011-08-29 01:17 曾祥展 阅读(462) 评论(1) 编辑
摘要: 漂亮 用户体验友好 信息提示 HTML结构:<div class="msg24"> <p class="ok"> 默认地址修改成功! </p></div>CSS样式:.msg .error, .msg .stop, .msg .alert, .msg .attention, .msg .tips, .msg .ok, .msg .notice, .msg .question, .msg .help, .msg .small-help { color:#404040; background:url(msg_b阅读全文
posted @ 2011-08-27 09:56 曾祥展 阅读(1164) 评论(20) 编辑
摘要: 打造 漂亮 动态 友好的 精选随机色彩 投票百分比展示 效果 HTML结构:<ul class="vote-box-list clearfix" id="appVoteBox"> <li class="vl-item" id="voteItem0" > <div class="vote-item-wrap"> <h4>A:</h4> <p class="litem"><em class=vleft&阅读全文
posted @ 2011-08-24 10:57 曾祥展 阅读(1742) 评论(1) 编辑
摘要: 让代码看起来更舒服,Coding起来更加享受! 设置: 2. 3. 4. 附件下载: 配置文件(包括优雅字体) 2011-8-8阅读全文
posted @ 2011-08-08 22:30 曾祥展 阅读(1637) 评论(1) 编辑
摘要: xml结构: <?xml version="1.0" encoding="GBk"?> <News> <Item Title=" " Url=" " Time="2017-8-13 22:12:00" Content=" " /> <Item Title=" " Url=" " Time="2017-8-13 22:12:00" Content=" " /阅读全文
posted @ 2011-08-06 23:13 曾祥展 阅读(290) 评论(0) 编辑
摘要: 简单,漂亮,动画效果,用户体验好! 这个效果是在页面头部出现的,出现一下会自动隐藏,上面有x那个提示就要手动关闭一下,其他的都是自动隐藏的! 温馨提示:基于jquery 1.6.2 版本! <div id="message-dock"> <div id="message-sleeve" class="group"> <p><span class="sprite message-icon"></span><span id="message-t阅读全文
posted @ 2011-08-01 23:03 曾祥展 阅读(1524) 评论(5) 编辑
摘要: xhEditor开源HTML编辑器,精简迷你,使用简单,支持Word,基于jQuery,Ajax上传,远程抓图…… For .Net: 配置: <asp:TextBox ID="txtnewsContent" runat="server" TextMode="MultiLine"></asp:TextBox><script src="../Scripts/jquery-1.6.2.min.js" type="text/javascript"></scri阅读全文
posted @ 2011-07-27 22:32 曾祥展 阅读(907) 评论(2) 编辑
摘要: 动感效果的TAB选项卡 jquery 插件 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="t阅读全文
posted @ 2011-07-09 16:07 曾祥展 阅读(1082) 评论(0) 编辑
摘要: win7 64位“/”应用程序中的服务器错误。 未能加载文件或程序集“XXX.XXX”或它的某一个依赖项。试图加载格式不正确的程序。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.BadImageFormatException: 未能加载文件或程序集“XXX”或它的某一个依赖项。试图加载格式不正确的程序。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 程序集加载跟踪: 下列信息有助于确定程序集“XXX”无法加载阅读全文
posted @ 2011-07-08 19:03 曾祥展 阅读(1981) 评论(2) 编辑
