摘要:
LINQvar str= str.ToCharArray() .GroupBy(x => x) .OrderByDescending(x => x.Count()) .... 阅读全文
摘要:
internal class CacheHelper { /// /// Insert value into the cache using /// appropriate name/value pairs /// //... 阅读全文
摘要:
/// /// 获取枚举Description的Name /// /// 枚举 /// public static string GetDescription(Enum enumName) { var name = enumName.ToString(); var type = enumName.GetType(); var fieldInfo = type.GetField(name); var arrDesc = (DescriptionAttribute[])fieldInfo.GetCustomAttributes(typeof(DescriptionAt... 阅读全文
摘要:
http://anthonyvscode.com/2011/07/14/mvc-3-requiredif-validator-for-multiple-values/ 阅读全文
摘要:
function closewindow() { window.opener = null; window.open("", "_self"); window.top.close(); if (navigator.userAgent.indexOf("Firefox") > 0) { window.location.href = 'about:blank'; } } 阅读全文
摘要:
// 用法: 28320 Parcells Rd NE Kingstorn, WA 98346 阅读全文
摘要:
filter:progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#171717); background: -ms-linear-gradient(top, #ffffff, #171717); background: -moz-linear-gradient(top, #ffffff,#171717); background: -webkit-gradient(linear, 0% 0%, ... 阅读全文
摘要:
opacity: 0.4;filter: progid:DXImageTransform.Microsoft.Alpha(opacity=40);-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=40)"; 阅读全文
摘要:
http://msdn.microsoft.com/zh-cn/library/ms174430%28v=sql.105%29.aspxhttp://msdn.microsoft.com/zh-cn/library/ms188357%28v=sql.105%29.aspx 阅读全文
摘要:
绑定协议名称 支持可靠性 默认可靠性 支持有序传递 默认有序传递BasicHttpBinding No N/A No N/ANetTcpBinding Yes Off Yes OnNetPeerTcpBinding No N/A No ... 阅读全文