摘要: 表格属性 <table>标签里需要设置的属性border:表格的边框。比如,border=1,表示表格边框的粗细为1个像素,为0表示没有边框。cellspacing:单元格间距。当一个表格有多个单元格时,各单元格的距离就是cellspacing,表格只有一个单元格,这个单元格与表格上、下、左、右边边框的距离也是cellspacing。cellpadding:单元格衬距。指该单元格里的内容与cellspacing区域的距离,cellspacing为0,表示单元格里的内容与表格周边边框的距离。width:表格的宽度。width的取值还可以使用百分比,如widht="100%& 阅读全文
posted @ 2013-01-15 21:43 星博 阅读(86) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2012-12-29 13:08 星博 阅读(0) 评论(0) 推荐(0)
摘要: int i,a,b,c;for(i=100;i<=999;i++){a=i/100;b=(i%100)/10;c=i%10;if(a*a*a+b*b*b+c*c*c==i)printf("%d\n",i);}return 0; 阅读全文
posted @ 2012-09-11 16:06 星博 阅读(80) 评论(0) 推荐(0)
摘要: int math(int n){ int i ; if(n==1)i=1; else i=math(n-1)*n; return (i);}int main(){ printf("%d\n",math(5));} 阅读全文
posted @ 2012-09-11 15:41 星博 阅读(101) 评论(0) 推荐(0)
摘要: create proc proc_insertCheck(@GoodsID bigint,@StoreName varchar(100),@GoodsName varchar (50),@GoodsUnit char (8),@CheckNum bigint,@PALNum bigint,@CheckPeople varchar (20),@CheckRemark varchar (1000))asif exists(select * from tb_Check where GoodsID=@GoodsID)begin return 100endelsebegin insert into tb 阅读全文
posted @ 2012-09-11 15:37 星博 阅读(317) 评论(0) 推荐(0)
摘要: for (int i = 0; i < numbers.Length - 1; i++){ for (int j = 0; j < numbers.Length - 1 - i; j++){if (numbers[j] > numbers[j + 1]){ int temp = numbers[j];numbers[j] = numbers[j + 1]; numbers[j + 1] = temp;}}} 阅读全文
posted @ 2012-09-11 15:14 星博 阅读(120) 评论(0) 推荐(0)