摘要: 在View中使用@model List中是类型dynamic时会出现此问题我整理了下处理方法如下首先项目中加入下面的类namespace System{ public static class ExpandoHelper { public static ExpandoObj... 阅读全文
posted @ 2015-01-21 14:50 丫的 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 应朋友要求写了一个反序列化JSON的东东因为系统自带Json转换方法的无法将""转换DateTime?初略写了一下有任何问题或者建议 请留言。using System;using System.Reflection.Emit;using System.Reflection;public class JSONSerialize<T>{ public JSONSerialize() { } private delegate T Delegate(string json); private static Delegate handler; public stati.. 阅读全文
posted @ 2013-05-31 16:04 丫的 阅读(1326) 评论(3) 推荐(1) 编辑
摘要: 1.Open"SQLServerConfigurationManager"2.Click"SQLServerServices"ontheleftpane3.Right-clickonyourSQLServerinstancenameontherightpane->Default:SQLServer(... 阅读全文
posted @ 2014-07-07 17:57 丫的 阅读(726) 评论(0) 推荐(0) 编辑
摘要: (function ($) { $.widget("ui.combobox", { Version: "1.4", options: { SelectOnly:true,//是否只能选择数据源中的 config: { lableName: "选项", tdWidth: 80, showHeader: true } }, _create: function ... 阅读全文
posted @ 2013-04-29 17:51 丫的 阅读(816) 评论(0) 推荐(0) 编辑
摘要: 通过Emit动态创建类(C#)2009-08-16 22:02using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.Reflection.Emit;using System.Threading;namespace EmitDemo{ public interface IHello { void SayHello(string toWhom); } class Program { static void Main( 阅读全文
posted @ 2013-03-30 11:35 丫的 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 好吧 不让用live了 改成on... 阅读全文
posted @ 2013-03-30 11:29 丫的 阅读(239) 评论(0) 推荐(0) 编辑
摘要: $("#leftMenuList").jstree({ "core": { "initially_open": ["root_3"] }, "themes": { "theme": "classic", "dots": true, "icons": true }, "html_data": { "ajax": { "url": "AjaxMenu. 阅读全文
posted @ 2013-03-30 11:28 丫的 阅读(331) 评论(1) 推荐(1) 编辑