摘要:
参考网址:http://www.stylejar.com/archives/js%E5%AF%B9%E8%B1%A1-%E6%95%B0%E7%BB%84-json-%E4%BA%92%E7%9B%B8%E8%BD%AC%E6%8D%A2.htmlhttp://ayanline.iteye.com/blog/920061http://blog.csdn.net/lushuaiyin/article/details/7096522http://www.cnblogs.com/codeplus/archive/2011/07/18/2109544.html有时候后台返回的json,其实不是真正意义 阅读全文
摘要:
用json.net的方式。参考网址:http://www.cnblogs.com/hxling/archive/2010/10/31/1865575.html主要的代码:public static string ToJson(object obj){ StringBuilder sb = new StringBuilder(); StringWriter sw = new StringWriter(sb); JsonSerializer json = new JsonSerializer(); json.Serialize(new JsonTextWriter(sw),obj)... 阅读全文
摘要:
隐藏DataGrid数据:$("#eGrid").parent().parent().parent().parent().hide(); datagrid的参数配置的方式 方式1: var queryParams = $('#menulist').datagrid('options').queryP 阅读全文