摘要: 用python求从1开始第1000个质数? 阅读全文
posted @ 2014-04-02 13:09 Macbeth 阅读(1166) 评论(0) 推荐(0) 编辑
摘要: IQueryable类型的Where方法和Skip或Take方法一起使用时,生成的SQL语句错误 阅读全文
posted @ 2013-07-13 01:53 Macbeth 阅读(1505) 评论(1) 推荐(1) 编辑
摘要: 1 static void Main() 2 { 3 Random rnd = new Random(); 4 int[] list = new int[10]; 5 for (int i = 0; i < list.Length; i++) 6 { 7 list[i] = rnd.Next(1,200); 8 Console.Write(list[i] + ","); 9 }10 ... 阅读全文
posted @ 2012-08-29 21:40 Macbeth 阅读(194) 评论(0) 推荐(0) 编辑
摘要: vertical-align: bottom给li加上这句话即可解决。 阅读全文
posted @ 2012-08-24 12:45 Macbeth 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 先看这样一段代码 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <style> 5 *{padding:0px;margin:0px;} 6 table {border-col 阅读全文
posted @ 2012-08-23 15:02 Macbeth 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 找了很久都没找到Css2.0的手册,不是要注册就是要积分,故留此存档压缩文件包含Css2.0、Css3.0、jQuery1.4 三个手册,都是包含索引的下载地址:点此下载 阅读全文
posted @ 2012-08-22 09:41 Macbeth 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 查看demo:http://www.socss.cn/demo/slide/index.htm下载附件:http://www.socss.cn/uploadfile/2011/0522/20110522084716710.rar改进版:demo:http://cll.socss.cn/wp-content/uploads/2011/07/picNews/index.html下载地址:http://cll.socss.cn/wp-content/uploads/2011/07/picNews.zip文章作者:hery本文地址:http://www.socss.cn/2011/jq_0522/4. 阅读全文
posted @ 2012-08-21 22:42 Macbeth 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 啥也不说了,贴代码 1 /****** Object: StoredProcedure [dbo].[ListPage] Script Date: 03/20/2011 23:26:56 ******/ 2 SET ANSI_NULLS ON 3 GO 4 SET QUOTED_IDENTIFIER ON 5 GO 6 CREATE PROC [dbo].[ListPage] 7 @p_tableName VARCHAR(MAX), --表名或者Sql语句 8 @p_columns VARCHAR(1000)='*', --字段名称 9 @p_strWhere VARCHAR( 阅读全文
posted @ 2011-03-20 23:30 Macbeth 阅读(519) 评论(3) 推荐(1) 编辑