摘要:
.arrowlistmenu{width: 180px; /*width of accordion menu*/}.arrowlistmenu .menuheader{ /*CSS class for menu headers in general (expanding or not!)*/font: bold 14px Arial;color: white;background: black url(titlebar.png) repeat-x center left;margin-bottom: 10px; /*bottom spacing between header and rest 阅读全文
摘要:
<html><head><title>confirm</title><script type="text/javascript"> function confirmdemo(){ if(confirm("是否继续")){ alert("继续"); }else{ alert("退出");}}function navigatedemo(){navigate("http://www.baidu.com");}function bodymous 阅读全文
摘要:
select * from news where type='zxcx' --查询最新车讯select * from news where type='xwzx' --查询新闻资讯select * from news where type='cgzb' --查询采购招标select * from news where type='zcfg' --查询政策法规select * from news where type='yszs' --查询运输学院select * from news where type=' 阅读全文
摘要:
DUMP TRANSACTION ZGJT WITH NO_LOG--清空事务日志:DUMP TRANSACTION 数据库名称 WITH NO_LOG BACKUP LOG 数据库名称 WITH NO_LOG DBCC SHRINKDATABASE(数据库名称)DUMP TRANSACTION zgjtyunshu WITH NO_LOG BACKUP LOG zgjtyunshu WITH NO_LOG DBCC SHRINKDATABASE(zgjtyunshu)select top(1)* from ZGJT_information order by id descDUMP TRANS 阅读全文
摘要:
SQL 2005清除事务日志DUMP TRANSACTION 数据库名称 WITH NO_LOG BACKUP LOG数据库名称 WITH NO_LOG DBCC SHRINKDATABASE(数据库名称) 阅读全文
摘要:
insert into tableb..bb(b1,b2,b3) select a1,a2,a3 from tablea..aainsert into 数据库1.a(id,name...)select id,name...from 数据库2.binsert into tableb(b1,b2,b3) select a1,a2,a3 from[wjjj].[dbo].[fbase]insert into tableb(b1,b2,b3) select a1,a2,a3 from[数据库2名].[dbo].[表]实例create database Testause Testacreate tabl 阅读全文
摘要:
VIEWSTATE是MS用来保存服务器控件状态的东西,在客户段是用input type="hiiden"控件编码保存的,在页面postback回来的时候,我们不需要在重新访问数据库给控件绑定数据(加上if(!IsPostBack)的判断),网站前台没有post的处理的情况下基本上可以禁用,后台可以适当的使用,但是数据较多时input type="hiiden"会有损性能. page指令中: EnableViewState="false" 阅读全文
摘要:
Response.Write("<script>alert('修改成功!');window.location.href='configuration.aspx';</script>");Response.Flush();//去除Cookie,把Response.Write()打印出来的东西立刻在界面显示 阅读全文