上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 46 下一页
摘要: 使用 前台js $.yms_Dialog("edit_dialog", "/DataEntering/EditView?id=" + id, function () { $("#data_type_edit").val($("#data_type_edit").attr("gc")); }); 部分 阅读全文
posted @ 2015-11-19 11:05 小小高 阅读(2803) 评论(0) 推荐(1)
摘要: json.net转json时生成的时间格式是这种 2015-11-14T06:59:59+08:00格式化为这种2015-11-14后台代码:IsoDateTimeConverter timeFormat = new IsoDateTimeConverter(); timeFormat.DateTi... 阅读全文
posted @ 2015-11-17 18:15 小小高 阅读(365) 评论(0) 推荐(0)
摘要: js中以键值对的形式当枚举var Penum= { B: "姓名", C: "所属居委", D: "证件号", E: "性别", F: "生日", G: "籍贯", H: "居住地址", ... 阅读全文
posted @ 2015-11-17 09:34 小小高 阅读(1871) 评论(0) 推荐(0)
摘要: 连接字符串: return new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["WebJakeCS"].ConnectionString); return new SqlConnection(S 阅读全文
posted @ 2015-11-16 17:08 小小高 阅读(8432) 评论(0) 推荐(0)
摘要: 直接上代码 后台代码 工具类: 阅读全文
posted @ 2015-11-11 11:22 小小高 阅读(4094) 评论(0) 推荐(2)
摘要: //div出滚动条://滚动条始终处于最下面。聊天程序需要$("#discussion").bind('DOMNodeInserted', function(e) { this.scrollTop=this.scrollHeight;}); 阅读全文
posted @ 2015-11-09 17:03 小小高 阅读(204) 评论(0) 推荐(0)
摘要: html页面样式#loading-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 20000; background-color:#000; filter:alpha(opacity=50... 阅读全文
posted @ 2015-11-05 17:14 小小高 阅读(1219) 评论(0) 推荐(2)
摘要: 记录下。。唉。。。。java代码:导入这个commons-codec-1.8.jar (下载链接: http://files.cnblogs.com/files/gaocong/jar%E5%8C%85.rar) java后台方法InputStream in = null; byte[... 阅读全文
posted @ 2015-11-05 11:29 小小高 阅读(3384) 评论(0) 推荐(0)
摘要: //把流转化为文件 public static void StreamToFile(Stream stream, string filepath) { byte[] bytes = StreamToBytes(stream); FileStream fileStream = new FileStre... 阅读全文
posted @ 2015-11-04 11:59 小小高 阅读(752) 评论(0) 推荐(0)
摘要: 程序一:后台代码: public ActionResult Index() { FileStream fs = new FileStream("e:\\file\\psb.jpg", FileMode.Open); byte[] t = S... 阅读全文
posted @ 2015-11-04 09:39 小小高 阅读(21363) 评论(0) 推荐(1)
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 46 下一页