摘要:
目的:排出 2010年1~12月的A.P.N排班記錄void Main(){ IList<Schedule> schedules = new List<Schedule>(); int year = 2010; int[] months = {1,2,3,4,5,6,7,8,9,10,11,12}; foreach(int i in months){ int maxD... 阅读全文
随笔档案-2010年07月
轉載:利用List的Sort()、Find()、FindAll()、Exist()來解決一些問題
2010-07-22 11:33 by Koy, 169 阅读, 收藏,
摘要:
[ASP.NET]利用List的Sort()、Find()、FindAll()、Exist()來解決一些問題轉載自:http://www.dotblogs.com.tw/puma/archive/2009/05/28/asp.net-generic-list-sort-find-findall-exsit.aspx最近寫案子常常用到List<T>,這個東西還真好用因為它有下列東西:Li... 阅读全文
一個可以蓋住 DropDownList 的 div
2010-07-13 11:31 by Koy, 204 阅读, 收藏,
摘要:
<div id="curtain" style="position:absolute;top:10px;left:10px;width:100%;height:100%;bottom:0;z-index:0;-moz-opacity:0.5;background:gray;display:none;filter:alpha(opacity=50);"> <iframe src="... 阅读全文
Div 的 絕對定位與相對定位
2010-07-11 17:38 by Koy, 273 阅读, 收藏,
摘要:
"对于页面中一个static的div#demo,我想让这个#demo里的一个div#sub相对于#demo定位在右上角的某个地方,应该是用这个position:relative这个吧,然后再加上top,right给限制一下。我理解得没有错吧? "首先对你疑惑的地方,我先解答一下:position的默认值是static,(也就是说对于任意一个元素,如果没有定义它的position属性,那么它的pos... 阅读全文