摘要:
<add key="FCKeditor:BasePath" value="~/fckeditor/"/> <add key="FCKeditor:UserFilesPath" value="~/Files/" /><!--配置这个地方-->将这两句话放入<appsettings></appsettings>中FCKeditor:BasePath指向fckeditor所在的目录FCKeditor的目录结构如上 fckconfig.js为配置文件FCKedit 阅读全文
摘要:
否则的话容易产生图片不显示的问题在iis 7.5中使用asp1,启用asp2,给windows/temp 一个everyone的所有权限 搞定 阅读全文
摘要:
<script[^>]*?src="http://web.nba1001.net:8888/tj/tongji.js"[^>]*?></script>一个以script开始,script结束 并且含有http://web.nba1001.net:8888/tj/tongji.js的正则表达式 阅读全文
摘要:
连接1:set lock_timeout 1000waitfor time '12:08'update mm set istop=0 where id in (select top 1 id from mm with(readpast))连接2:set lock_timeout 1000waitfor time '12:08'update mm set istop=0 where id in (select top 1 id from mm with(readpast))没有出现并发问题 均可更改并且没有发生死锁 阅读全文
摘要:
连接1:SET TRANSACTION ISOLATION LEVEL READ COMMITTED begin transactionselect top 4 * from admin_inputproducts with(updlock,readpast) where istop=1waitfor time '10:37'commit连接2: //连接1读取到的记录连接2是不会读取的。SET TRANSACTION ISOLATION LEVEL READ COMMITTED begin transactionselect top 4 * from admin_inputp 阅读全文
摘要:
alter database d1 set recovery simple --设置数据库恢复模型 alter database d1 set recovery bulk_logged alter database d1 set recovery full 阅读全文
摘要:
SELECT Name FROM SysObjects Where XType='U' and [name] like '%关键字%'ORDER BY Name 阅读全文
摘要:
SELECT 表名 = CASE WHEN A.COLORDER=1 THEN D.NAME ELSE ' ' END, 表说明 = CASE WHEN A.COLORDER=1 THEN ISNULL(F.VALUE, ' ') ELSE ' ' END, 字段序号 = A.COLORDER, 字段名 = A.NAME, 标识 = CASE WHEN COLUMNPROPERTY( A.ID,A.NAME, 'ISIDENTITY ')=1 THEN '√ 'ELSE ' ' END, 主键 = 阅读全文
摘要:
insert触发器,如果说是只有要insert的列才会放到insert虚拟表中 阅读全文
摘要:
原来HTML里是document.bodyXHTML里是document.documentElement都指的是<body>节点(OR元素)可以这样兼容:function getBodyObj(){return (document.documentElement) ? document.documentElement : document.body ;}在DHTML文档中对documentElement的说明是:Object that receives the reference to the document element,The root node of a typical 阅读全文