摘要: AJAX中根据async的值不同分为同步(async = false)和异步(async = true) $.ajax({ type: "post", url: "path", cache:false, async:false, dataType: ($.browser.msie) ? "text" 阅读全文
posted @ 2020-12-25 17:14 阿鹏哥 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 工作中需要用到全球唯一标识符,在.net当中 微软已经为我们添加了此方法,我们只需要直接调用即可。代码如下: string guid = Guid.NewGuid().ToString(); 但事情往往没有那么容易一帆风顺,当别人设计的数据库ID类型为varchar(32)时,使用Guid.NewG 阅读全文
posted @ 2020-12-25 17:11 阿鹏哥 阅读(383) 评论(0) 推荐(0) 编辑