学无止境

面朝大海,春暖花开

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年4月18日

摘要: 1.使用 $(“#id”).die().live(“click”,function(){});来为元素绑定事件可在元素加载之前绑定上。 2.使用 $(".btnDel[cid=" + id + "]")根据标签来取。 3.获取选中的某个Class的radio $(“.ClassName:check”) 4.CheckBox全选 反选 阅读全文
posted @ 2012-04-18 14:26 学+无止境 阅读(546) 评论(0) 推荐(0) 编辑

2012年2月14日

摘要: 引用自:http://blog.csdn.net/cikehaha/article/details/6336766 修改Webcong文件:<system.web><httpRuntime maxR... 阅读全文
posted @ 2012-02-14 10:41 学+无止境 阅读(1101) 评论(0) 推荐(0) 编辑

2012年2月9日

摘要: 1、插入的时外键值的数据(从表数据)不存在, 此时 查看自己插入语句中外键值 如foreignID=1的记录是否存在。目前主要是此问题,还有其他情况的请您告知。 阅读全文
posted @ 2012-02-09 11:25 学+无止境 阅读(4522) 评论(0) 推荐(0) 编辑

2012年2月7日

摘要: 用法:http://www.position-relative.net/creation/formValidator/demoValidators.html 1.页面中引入js jquery.js, ... 阅读全文
posted @ 2012-02-07 11:31 学+无止境 阅读(13849) 评论(0) 推荐(0) 编辑

2012年2月3日

摘要: return _serviceUser.Get(a => a.Account == GetAccount());LINQ to Entities 不识别方法“System.String GetAcco... 阅读全文
posted @ 2012-02-03 00:33 学+无止境 阅读(297) 评论(0) 推荐(0) 编辑

2012年1月30日

摘要: 参考文章:http://www.cnblogs.com/haogj/archive/2010/12/01/1893955.html 1、_layout.cshtml公共模板。使用Html.Parti... 阅读全文
posted @ 2012-01-30 17:35 学+无止境 阅读(3489) 评论(0) 推荐(0) 编辑

摘要: DorpDownListFor 1. 直接在页面初始化 @Html.DropDownListFor(model => model.Status, new SelectList(new string[... 阅读全文
posted @ 2012-01-30 17:33 学+无止境 阅读(6008) 评论(0) 推荐(0) 编辑

2012年1月18日

摘要: 1、hibernate.cfg.xml文件,配置数据库连接信息和实体的映射文件信息 <hibernate-configuration> <session-factory> <property name... 阅读全文
posted @ 2012-01-18 17:36 学+无止境 阅读(179) 评论(0) 推荐(0) 编辑

摘要: O:对象 OOA,OOD,OOP R:关系 关系型数据库 M:mapping 映射 Apache OJB,JDO,Oracle Toplink,EJB(CMP)、JPA,IBatis 阻抗不匹配 PO... 阅读全文
posted @ 2012-01-18 15:40 学+无止境 阅读(262) 评论(0) 推荐(0) 编辑

摘要: java国际化 1、了解缺省Locale是由操作系统决定的,Locale是由语言和国家代码组成 2、国际化资源文件是由baseName+locale组成,如:MessageBundle_en_US.... 阅读全文
posted @ 2012-01-18 14:41 学+无止境 阅读(1365) 评论(0) 推荐(0) 编辑