06 2008 档案
摘要:常用的二列布局,外容器Div定義class為container, 包含class分別為left 和main兩個子DIV,下邊是class為foot的Div當我們想在container和foot之間加一點間隙時,fifefox卻發起了脾氣代碼如下:[代码]以上代碼在IE6中能正常顯示,但是在firefox中container和footer之間沒有間隙,也就是說margin-bottom:20沒起作用...
阅读全文
摘要:declare@pricemoneyset@price=123456789selectconvert(varchar,@price,1)
阅读全文
摘要:在发生错误页抛出自定义异常,然后,统一页面显示异常信息 Global.asax:Application_Error事件,用于捕获自定义异常信息,并存入Application void Application_Error(object sender, EventArgs e) { //取得异常 Exception error = Server.GetLas...
阅读全文
摘要:一列变三列的例子: 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...
阅读全文

浙公网安备 33010602011771号