07 2011 档案

创建一个sql临时表
摘要:use master;set nocount on;if DB_ID('Performance') is nullcreate database Performance;gouse Performance;goset nocount on;if OBJECT_ID('dbo.Nums', 'U') is not nulldrop table dbo.nums;create table dbo.nums(n int not null primary key );declare @max as int, @rc as int;set @max = 5 阅读全文

posted @ 2011-07-29 17:39 无法显示此网页 阅读(361) 评论(0) 推荐(0)

ipsec屏蔽土豆广告 2011.7
摘要:@echo offnetsh ipsec static delete allset ipsec_policy=tudouset ipsec_filterlistname=tudou adsset ipsec_actionname=denyset ip_block_list=119.167.203.@echo 1 netsh ipsec static add policy name="%ipsec_policy%"netsh ipsec static add policy name="%ipsec_policy%"@echo 2 netsh ipsec s 阅读全文

posted @ 2011-07-24 02:01 无法显示此网页 阅读(317) 评论(0) 推荐(0)

my solutions to 403.14 with mvc and virtual directory
摘要:1. “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir” doesn’t work. the web app work in root but does’t work in vdir; my aspnet setup should be correct 2. turn windows features on... 阅读全文

posted @ 2011-07-13 11:16 无法显示此网页 阅读(242) 评论(0) 推荐(0)

IE9 border 不好使
摘要:突然发现 border : 2px solid #ff0000;在IE9 不好使了。。。改成table .green{border-style: solid;border-width: 2px;border-color: Green;} 阅读全文

posted @ 2011-07-07 18:12 无法显示此网页 阅读(341) 评论(0) 推荐(0)

asp.net inline tags
摘要:<% ... %> 用来运行一般性代码. http://msdn.microsoft.com/en-us/library/ms178135(v=VS.100).aspx <% if (User.IsInRole("admin")) { %> You can see this<% } else { %> You are no admin fool!<%} %> <%= ... %>小段信息, 通常是... 阅读全文

posted @ 2011-07-04 21:09 无法显示此网页 阅读(174) 评论(0) 推荐(0)

导航