摘要: /** * Cookie plugin * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/l... 阅读全文
posted @ 2018-03-15 09:54 ly77461 阅读(1510) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-14 16:21 ly77461 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 设置cookie每个cookie都是一个名/值对,可以把下面这样一个字符串赋值给document.cookie:document.cookie="userId=828";如果要一次存储多个名/值对,可以使用分号加空格(; )隔开,例如:document.cookie="userId=828; use 阅读全文
posted @ 2018-03-14 16:02 ly77461 阅读(2942) 评论(0) 推荐(0) 编辑
摘要: --------------创建不带参数的存储过程----------------- DELIMITER;; drop PROCEDURE if EXISTS selectStudent; create PROCEDURE 'selectStudent'() BEGIN select*from student; end;; DELIMITER; --------------带参数的存储过程... 阅读全文
posted @ 2018-02-23 16:49 ly77461 阅读(1813) 评论(0) 推荐(0) 编辑
摘要: //2008年4月24日 System.DateTime.Now.ToString("D"); //2008-4-24 System.DateTime.Now.ToString("d"); //2008年4月24日 16:30:15 System.DateTime.Now.ToString("F"); //2008年4月24日 16:3... 阅读全文
posted @ 2017-12-26 15:41 ly77461 阅读(1009) 评论(0) 推荐(0) 编辑
摘要: 方法一:创建合并列函数 方法二:xml path()方法在05之后可用 阅读全文
posted @ 2017-11-21 13:41 ly77461 阅读(3129) 评论(0) 推荐(0) 编辑
摘要: 纵表格式如图所示: 查询sql语句如下: 变成横表如图所示: 纵表变横表sql语句如下: 阅读全文
posted @ 2017-11-21 12:01 ly77461 阅读(767) 评论(0) 推荐(0) 编辑
摘要: select getdate() select dateadd(year,-1,getdate()) select datediff(day,getdate(),dateadd(day,2,getdate()) ) Select datepart(month, dateadd(month,1,getdate())) Select datepart(hour, dateadd(mon... 阅读全文
posted @ 2017-11-21 11:41 ly77461 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-12 14:43 ly77461 阅读(2338) 评论(0) 推荐(0) 编辑
摘要: 获取单个a中href的值: 获取多个a中的href的值: 阅读全文
posted @ 2017-07-07 11:14 ly77461 阅读(5873) 评论(0) 推荐(1) 编辑