摘要: 先看css代码: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->div {}{ float:left; margin-left:10px; width:420px; height:150px; bor... 阅读全文
posted @ 2008-05-27 09:11 天际翔龙 阅读(739) 评论(0) 推荐(0) 编辑
摘要: SQL默認用單引號(')做為字符串的標識符 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->SET QUOTED_IDENTIFIER OFF 則改成雙引號(")作為字符串標識符 阅读全文
posted @ 2008-05-09 17:47 天际翔龙 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->declare @Conditions varchar(10)set @Conditions=''select * from TabelA where ((@Conditions'' AND colN... 阅读全文
posted @ 2008-05-08 10:12 天际翔龙 阅读(831) 评论(0) 推荐(0) 编辑
摘要: 發現DHTML中一個屬性,可以讓DIV或者SPAN實現編輯,IE6上測試通過 不知道IE7,FIREFOX可不可以 屬性如下 editor.contentEditable=true; 對象.contentEditable=bool! 這樣就可以不用iframe實現自己一個小小的編輯器,用來顯示上傳的文件 阅读全文
posted @ 2008-04-22 15:06 天际翔龙 阅读(185) 评论(0) 推荐(0) 编辑
摘要: dbValue指从数据库读出值 方法为: Boolean isEquals = Object.Equals(dbValue, DBNull.Value) 或:Boolean isEquals = dbValue.Equals(DBNull.Value) 阅读全文
posted @ 2008-03-27 22:08 天际翔龙 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: 无标题文档 阅读全文
posted @ 2008-03-26 20:50 天际翔龙 阅读(759) 评论(0) 推荐(0) 编辑
摘要: Product(pid,name,amount,nowAmount):标识,名称,已有数量,当前数量 Trade(id,pid,operType,number):标识,产品标识,操作类型(入库:1,出库:0),数量 Product表中测试数据: 1 苹果 100 0 ... 阅读全文
posted @ 2008-03-11 23:37 天际翔龙 阅读(1853) 评论(0) 推荐(0) 编辑
摘要: 启动文件:index.php setParam('noViewRenderer', true); $frontController->setControllerDirectory( array( 'test'=>'app/test/... 阅读全文
posted @ 2008-03-04 11:08 天际翔龙 阅读(1959) 评论(2) 推荐(0) 编辑
摘要: 无标题文档 阅读全文
posted @ 2008-03-03 13:04 天际翔龙 阅读(740) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->class Pagination { private $_navigationItemCount = 10; //导航栏显示导航总页数 privat... 阅读全文
posted @ 2008-02-25 11:55 天际翔龙 阅读(1657) 评论(0) 推荐(0) 编辑