摘要: 解决问题: 1. Socket 的异常断开 2. 部署在IIS程序池上的程序回收导致 端口占用,对象资源却已经释放的BUG SocketHelper 类 inOptionValues .net框架中用于检测连接的客户端 检测时间(默认2小时) 或者自己写个心跳包(客户端和服务端用规定... 阅读全文
posted @ 2015-03-16 13:57 执着的码农 阅读(661) 评论(0) 推荐(0) 编辑
摘要: Ext.create('Ext.form.Panel', {title: '菜单编辑',id:'editMenuForm',bodyPadding: 5,// The form will submit an AJAX request to this URL when submittedurl: '/... 阅读全文
posted @ 2014-10-08 14:22 执着的码农 阅读(927) 评论(0) 推荐(0) 编辑
摘要: Ext.onReady(function () {/*表格数据源绑定*/var menuStore = Ext.create('Ext.data.Store', {pageSize:10,fields: ['id','','sm_name', 'sm_url', 'fatherGuid','fath... 阅读全文
posted @ 2014-10-08 13:39 执着的码农 阅读(2622) 评论(0) 推荐(0) 编辑
摘要: 1.如果是页面的一块刷新那么用jQuery的 load 加上时间搓 是为了防止相同。 $("#mainRigth").load("/IHealth/" + level + "?dt=" + (new Date()).valueOf() + "&levelparm=" + levelparm, function(response, status, xhr) {// if (status == "success") { alert("Sucess!"); } else { 阅读全文
posted @ 2012-10-23 09:12 执着的码农 阅读(234) 评论(0) 推荐(0) 编辑
摘要: http://razorjack.net/quicksand/index.html 分类特效http://fgnass.github.com/spin.js/ 加载图http://www.htmldrive.net/items/download/791进度条 http://todayinwebdesign.com/jquery-loader-progress-bar-and-content-animations/ 总汇 阅读全文
posted @ 2012-10-08 17:14 执着的码农 阅读(863) 评论(0) 推荐(0) 编辑
摘要: 1.LINQ基本语法View Code string[]nameList=newstring[5]{"张1","张2","张3","李四","王五"};//基本查询语句from实例名in数组或表名select实例名varname=fromninnameListselectn;foreach(varsinname){Console.WriteLine("姓名:{0}",s);}Console.WriteLine("\n\n");//where筛选条件name 阅读全文
posted @ 2012-03-25 23:29 执着的码农 阅读(300) 评论(0) 推荐(0) 编辑