博客园 首页 联系 订阅 管理

2011年11月25日

摘要: .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 阅读全文
posted @ 2011-11-25 08:58 $蔷 阅读(539) 评论(0) 推荐(0) 编辑

2011年11月24日

摘要: <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 阅读全文
posted @ 2011-11-24 23:23 $蔷 阅读(189) 评论(0) 推荐(0) 编辑

摘要: 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=' 阅读全文
posted @ 2011-11-24 11:01 $蔷 阅读(220) 评论(0) 推荐(0) 编辑

摘要: 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 阅读全文
posted @ 2011-11-24 10:59 $蔷 阅读(333) 评论(0) 推荐(0) 编辑

2011年11月22日

摘要: SQL 2005清除事务日志DUMP TRANSACTION 数据库名称 WITH NO_LOG BACKUP LOG数据库名称 WITH NO_LOG DBCC SHRINKDATABASE(数据库名称) 阅读全文
posted @ 2011-11-22 14:54 $蔷 阅读(220) 评论(0) 推荐(0) 编辑

2011年11月18日

摘要: 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 阅读全文
posted @ 2011-11-18 16:59 $蔷 阅读(6543) 评论(1) 推荐(4) 编辑

2011年10月27日

摘要: VIEWSTATE是MS用来保存服务器控件状态的东西,在客户段是用input type="hiiden"控件编码保存的,在页面postback回来的时候,我们不需要在重新访问数据库给控件绑定数据(加上if(!IsPostBack)的判断),网站前台没有post的处理的情况下基本上可以禁用,后台可以适当的使用,但是数据较多时input type="hiiden"会有损性能. page指令中: EnableViewState="false" 阅读全文
posted @ 2011-10-27 21:57 $蔷 阅读(156) 评论(0) 推荐(0) 编辑

摘要: Response.Write("<script>alert('修改成功!');window.location.href='configuration.aspx';</script>");Response.Flush();//去除Cookie,把Response.Write()打印出来的东西立刻在界面显示 阅读全文
posted @ 2011-10-27 17:26 $蔷 阅读(1398) 评论(0) 推荐(0) 编辑