05 2016 档案
摘要:查看、添加、提交、删除、找回,重置修改文件 git help <command> # 显示command的help git show # 显示某次提交的内容 git show $id git co -- <file> # 抛弃工作区修改 git co . # 抛弃工作区修改 git add <fil
阅读全文
摘要:<html><head> <title>验证码</title> <style type="text/css"> #code { font-family: Arial; font-style: italic; font-weight: bold; border: 0; letter-spacing:
阅读全文
摘要:我们平时经常会遇到导入数据的问题,以下是我个人的方法,写游标导入数据,方便快捷而且还可以对数据进行一系列的处理 declare FeeInsertStudent cursor for /****** Script for SelectTopNRows command from SSMS ******
阅读全文
摘要:function System_dateInit(value) { if (value != null) { var d = new Date(value); var _d = System_date2str(d, "yyyy-MM-dd hh:mm:ss"); return _d; } else
阅读全文
摘要://title :字符串 ;interceptLength:所需的长度 function TitleThumbnail(title, interceptLength, thumbnailCharacter) { if (!interceptLength) { interceptLength = 16
阅读全文
摘要:var qqUrl = "http://connect.qq.com/widget/shareqq/index.html?url=" + "@Url.Action("MyResourceDetail", "Detail")?recId=" + this.ResourceId;
阅读全文
摘要:一些项目中,会涉及到事务的写法,比如订单相关,订单成功,会涉及到产品的库存和账户金额的一些信息变动,当然,如果整个流程成功,那是没什么问题,关键是如果中间某一步骤出现bug了,那之前已执行的一些变动就要回滚回去,所以就不可避免的用到事务的写法。以前只是在数据库中会涉及到事务写法 最近做一些财务方面的
阅读全文