摘要:
C# codeDateTime startDate = DateTime.Parse("2008-1-1");DateTime endDate = DateTime.Parse("2010-10-31");int totalMonth = endDate.Year * 12 + endDate.Mo 阅读全文
随笔档案-2018年07月
css_animate动画
2018-07-20 15:21 by bsdbqling, 262 阅读, 收藏,
摘要:
1、首先引入animate css文件 2、给指定的元素加上指定的动画样式名 这里包括两个class名,第一个是基本的,必须添加的样式名,任何想实现的元素都得添加这个。第二个是指定的动画样式名。 3、如果说想给某个元素动态添加动画样式,可以通过jquery来实现: animate.css 的默认设置 阅读全文
escape();unescape();编码解码
2018-07-18 16:02 by bsdbqling, 434 阅读, 收藏,
摘要:
escape() 函数可对字符串进行编码,这样就可以在所有的计算机上读取该字符串。 返回值 已编码的 string 的副本。其中某些字符被替换成了十六进制的转义序列。 说明 该方法不会对 ASCII 字母和数字进行编码,也不会对下面这些 ASCII 标点符号进行编码: * @ - _ + . / 。 阅读全文
C#中timer类
2018-07-18 12:25 by bsdbqling, 189 阅读, 收藏,
摘要:
关于C#中timer类 在C#里关于定时器类就有3个 ·关于C#中timer类 在C#里关于定时器类就有3个 1.定义在System.Windows.Forms里 2.定义在System.Threading.Timer类里 3.定义在System.Timers.Timer类里 System.Wind 阅读全文
extract 从日期中截取部分日期
2018-07-05 16:36 by bsdbqling, 322 阅读, 收藏,
摘要:
SQL> select extract (year from sysdate) year, extract (month from sysdate) month, extract (day from sysdate) day from dual; YEAR MONTH DAY 2018 5 4 阅读全文
c#开始事物提交事务回滚事务
2018-07-05 11:10 by bsdbqling, 1097 阅读, 收藏,
摘要:
2 SqlTransaction myTrans = conn.BeginTransaction();//开始事物 13 myCommand.Transaction = myTrans; 14 15 try 16 { 17 my... 阅读全文
浙公网安备 33010602011771号