上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 33 下一页
摘要: 第一种方法: DataTable dt = new DataTable(); dt.Columns.Add( "name" ); dt.Columns.Add( "value" ); DataRow dr = dt.NewRow(); dr[0] = "活动" ; dr[1] = "1" ; dt. 阅读全文
posted @ 2015-09-17 09:14 彪悍的代码不需要注释 阅读(33217) 评论(0) 推荐(2)
摘要: jAni是一个可以动画显示背景图片的jQuery插件。这个插件基本上是GIF动画的一个替代品,但是他有他的好处。所有浏览器都支持GIF形式的动画格式,而且也不需要额外的javaScript代码和标记。但是不好的一点是,GIF格式的图片只有256色。而且你不能控制图片的显示。这个插件通过载入垂直的GI... 阅读全文
posted @ 2015-09-14 19:00 彪悍的代码不需要注释 阅读(1876) 评论(0) 推荐(0)
摘要: JQuery 选择器选择器 实例 选取* $("*") 所有元素#id $("#lastname") id="lastname"的元素.class $(".intro") 所有class="intro"的元素element $("p") 所有元素.class.class $(... 阅读全文
posted @ 2015-09-14 18:51 彪悍的代码不需要注释 阅读(243) 评论(0) 推荐(0)
摘要: [WebMethod] public List<PictureManager> LoadPictureOne() { dataDataContext context = new dataDataContext(); List<PictureManager> list = new List<Pictu 阅读全文
posted @ 2015-09-14 18:45 彪悍的代码不需要注释 阅读(1520) 评论(0) 推荐(0)
摘要: in是把外表和内表作hash 连接,而exists 是对外表作loop 循环,每次loop 循环再对内表进行查询。 一直以来认为exists 比in 效率高的说法是不准确的。如果查询的两个表大小相当,那么用in 和exists 差别不大。 如果两个表中一个较小,一个是大表,则子查询表大的用exist 阅读全文
posted @ 2015-09-14 18:43 彪悍的代码不需要注释 阅读(1544) 评论(0) 推荐(0)
摘要: declare @result int =0declare @path nvarchar(200)='d:\1.csv'execute master.dbo.xp_fileexist @path ,@result output if @result =1begin print'有文件'endprin 阅读全文
posted @ 2015-09-14 18:41 彪悍的代码不需要注释 阅读(1140) 评论(0) 推荐(0)
摘要: use Test go if exists( SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'gettime') AND type in (N'FN', N'IF', N'TF', N'FS', N'FT'))-- 判断是否存在该自定义函数 drop function gettime -- 删除该自定义函数 go create fu... 阅读全文
posted @ 2015-09-14 18:40 彪悍的代码不需要注释 阅读(496) 评论(0) 推荐(0)
摘要: left join(左联接) 返回包括左表中的所有记录和右表中联结字段相等的记录 right join(右联接) 返回包括右表中的所有记录和左表中联结字段相等的记录inner join(等值连接) 只返回两个表中联结字段相等的行 举例如下: 表A记录如下:aID aNum1 a200501112 a 阅读全文
posted @ 2015-09-14 18:40 彪悍的代码不需要注释 阅读(40552) 评论(3) 推荐(1)
摘要: #css2中的选择器 1.元素选择器 *通配符选择符、html类型选择符、id选择符、class选择符 2.关系选择器 E F(包含选择器)、E>F(子选择器)、E+F(E元素后面相邻的F选择器) 3.伪类选择器 E:link(链接伪类选择器-默认链接) E:visited(链接伪类选择器-... 阅读全文
posted @ 2015-09-14 18:38 彪悍的代码不需要注释 阅读(230) 评论(0) 推荐(0)
摘要: #box{ color:red; ⁄* 所有浏览器都支持 *⁄ color:red!important; ⁄* Firefox、IE7支持 *⁄ _color:red; ⁄* IE6支持 *⁄ *color:red; ⁄* IE6、IE7支持 *⁄ *+color:red; ⁄* IE7支... 阅读全文
posted @ 2015-09-14 18:38 彪悍的代码不需要注释 阅读(201) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 33 下一页