06 2008 档案

摘要:常用的二列布局,外容器Div定義class為container, 包含class分別為left 和main兩個子DIV,下邊是class為foot的Div當我們想在container和foot之間加一點間隙時,fifefox卻發起了脾氣代碼如下:[代码]以上代碼在IE6中能正常顯示,但是在firefox中container和footer之間沒有間隙,也就是說margin-bottom:20沒起作用... 阅读全文
posted @ 2008-06-18 12:23 天际翔龙 阅读(1084) 评论(0) 推荐(0)
摘要:declare@pricemoneyset@price=123456789selectconvert(varchar,@price,1) 阅读全文
posted @ 2008-06-16 20:51 天际翔龙 阅读(1649) 评论(0) 推荐(0)
摘要:在发生错误页抛出自定义异常,然后,统一页面显示异常信息 Global.asax:Application_Error事件,用于捕获自定义异常信息,并存入Application void Application_Error(object sender, EventArgs e) { //取得异常 Exception error = Server.GetLas... 阅读全文
posted @ 2008-06-11 00:00 天际翔龙 阅读(308) 评论(0) 推荐(0)
摘要:一列变三列的例子: select max(case rownumber % 3 when 2 then id else null end) as id1, max(case rownumber % 3 when 2 then [text] else null end) as text1, max(case rownumber % 3 when 1 then id else null end) a... 阅读全文
posted @ 2008-06-03 23:44 天际翔龙 阅读(3632) 评论(6) 推荐(0)