摘要: 获取web.config里面的数据库连接 阅读全文
posted @ 2016-05-03 15:48 Bill 李 阅读(366) 评论(0) 推荐(0) 编辑
摘要: linq 入门基础 阅读全文
posted @ 2016-05-03 11:21 Bill 李 阅读(309) 评论(0) 推荐(0) 编辑
摘要: ASP.NET伪静态实现 阅读全文
posted @ 2015-05-26 16:21 Bill 李 阅读(227) 评论(0) 推荐(0) 编辑
摘要: using System;using System.IO;using System.Collections;using System.Data;using System.Linq;using System.Web;using System.Web.Services;using System.Web.... 阅读全文
posted @ 2014-10-21 09:11 Bill 李 阅读(1343) 评论(0) 推荐(0) 编辑
摘要: 1 // 获取地址栏的参数数组 2 function getUrlParams() { 3 var search = window.location.search; 4 // 写入数据字典 5 var tmparray = search.substr(1, search.l... 阅读全文
posted @ 2014-03-25 15:47 Bill 李 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-03-18 09:04 Bill 李 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 如果文本框是只读的,值会赋不进去,加上这句话就ok啦Xrm.Page.getAttribute("name").setSubmitMode("always"); 阅读全文
posted @ 2014-01-16 16:42 Bill 李 阅读(181) 评论(0) 推荐(0) 编辑
摘要: //fetch 格式 (enableprefiltering="1" prefilterparametername="CRM_Filteredxd_productionbudget" 过滤条件) //实体之间的连接查询 阅读全文
posted @ 2014-01-16 16:36 Bill 李 阅读(204) 评论(0) 推荐(0) 编辑
摘要: crm 2011 获取当前实体idXrm.Page.data.entity.getId();crm 2011 获取当前实体名称Xrm.Page.data.entity.getEntityName()crm 2011 获取父实体id (前提是新窗口打开): window.parent.opener.X... 阅读全文
posted @ 2014-01-16 16:33 Bill 李 阅读(246) 评论(1) 推荐(0) 编辑
摘要: 日期格式化var myDate = new Date();var myDate1 = new Date();myDate1.setMonth(0);myDate1.setDate(-1);var rq = myDate -myDate1 ;var s1 = Math.ceil(rq/(24*60*60*1000));var s2 = Math.ceil(s1/7);var nowDayOfWeek = myDate.getDay()-1; //今天本周的第几天 (由于是显示周一开始,而不是周日开始)var nowDay = myDate.getDate(); //当前日 var nowMont 阅读全文
posted @ 2014-01-16 16:31 Bill 李 阅读(500) 评论(0) 推荐(0) 编辑