2020年12月1日
摘要: JavaScriptSerializer json = new JavaScriptSerializer(); json.MaxJsonLength = Int32.MaxValue; string s = json.Serialize(griddata); Response.Write(s); 改 阅读全文
posted @ 2020-12-01 14:19 小石头的一天 阅读(259) 评论(0) 推荐(1)
摘要: C#中Math.Round()实现中国式四舍五入 /// <summary> /// 四舍五入 小数点后不保留 /// </summary> public static Decimal MathRound(object value) { try { string dData = value.ToSt 阅读全文
posted @ 2020-12-01 11:45 小石头的一天 阅读(304) 评论(0) 推荐(0)
摘要: 到现在没理解为何 button 事件 //通过class 筛选 $('.layui-btn.layui-btn-sm').on('click', function () { var type = $(this).data('type'); active[type] ? active[type].ca 阅读全文
posted @ 2020-12-01 10:51 小石头的一天 阅读(364) 评论(2) 推荐(0)