摘要: ConditionExpression condition2 = new ConditionExpression(); condition2.AttributeName = "accountcategorycode"; condition2.Operator = ConditionOperator.Equal; condition2.Values.Add(0); ConditionExpression condition3 = new ConditionExpression(); c... 阅读全文
posted @ 2013-08-21 12:20 刘满意 阅读(1032) 评论(0) 推荐(0) 编辑
摘要: //验证邮箱function C_CheckEmail(emailID) { var email = $("#" + emailID).val(); if (email.length > 0) { if (!checkEmail(email)) {//验证邮箱 return false; } } return true;}//验证手机号function C_CheckMobile(mobileID) { var mobile = $("#" + mobileID).val(); if (mobile.leng... 阅读全文
posted @ 2013-08-21 11:36 刘满意 阅读(211) 评论(0) 推荐(0) 编辑
摘要: namespace Lance{ /// /// 字符串处理 /// public class StringHandle { /// /// 剪切字符串 /// /// 要剪切的字符串 /// 要保留字符的字节数 /// public static string CutString(string inputString, int len) { ASCIIEncoding ascii = new ASCIIEncoding(... 阅读全文
posted @ 2013-07-25 16:10 刘满意 阅读(370) 评论(0) 推荐(0) 编辑
摘要: asp.net sitemap url动态参数 阅读全文
posted @ 2013-05-10 01:09 刘满意 阅读(708) 评论(0) 推荐(0) 编辑
摘要: 页面中加入<style type="text/css">html {filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }</style>如果还有部分flash没有变灰,可以尝试以下操作(仅以SWFObject为例)var so = new SWFObject("sgph/amcolumn/amcolumn.swf", "amcolumn", "190", "70", "8" 阅读全文
posted @ 2013-04-22 12:54 刘满意 阅读(431) 评论(4) 推荐(0) 编辑
摘要: 两个页面1.TestJson.aspx 展示页面主要js和引用的js<link href="../Styles/FundCrm.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/jquery-1.4.4.min.js" type="text/javascript"></script> <script type="text/javascript"> v 阅读全文
posted @ 2012-10-26 14:05 刘满意 阅读(2045) 评论(0) 推荐(0) 编辑
摘要: 找到MSCRM_CONFIG 数据库找到DeploymentProperties 表找到TotalRecordCountLimit 记录将 BigIntColumn 值改成 -1和 IntColumn 值改成-1可以解决记录总数问题 阅读全文
posted @ 2012-08-19 15:18 刘满意 阅读(133) 评论(0) 推荐(0) 编辑
摘要: string entityType = "crm_channel";string attributeName = "crm_channel_type";RetrieveAttributeRequest retrieveAttributeRequest = new RetrieveAttributeRequest{ EntityLogicalName = entityType, LogicalName = attributeName, RetrieveAsIfPublished = true};RetrieveAttributeResponse retri 阅读全文
posted @ 2012-08-09 15:58 刘满意 阅读(320) 评论(0) 推荐(0) 编辑
摘要: RetrievePrincipalAccessRequest acc = new RetrievePrincipalAccessRequest();acc.Target = new Microsoft.Xrm.Sdk.EntityReference("account", new Guid("37471FB9-69F4-46D3-926B-000014ED02AC"));//目标实体acc.Principal = new Microsoft.Xrm.Sdk.EntityReference("systemuser", method.Get 阅读全文
posted @ 2012-07-23 16:32 刘满意 阅读(328) 评论(0) 推荐(0) 编辑
摘要: SetParentTeamRequest team = new SetParentTeamRequest();team.BusinessId = new Guid("部门ID");team.TeamId = new Guid("团队ID");method.Execute(team);method 是OrganizationServiceProxy对象的示例 阅读全文
posted @ 2012-07-20 13:16 刘满意 阅读(190) 评论(0) 推荐(0) 编辑