10 2013 档案

摘要:客户端ip:Request.ServerVariables.Get("Remote_Addr").ToString();客户端主机名:Request.ServerVariables.Get("Remote_Host").ToString();客户端浏览器IE:Request.Browser.Browser;客户端浏览器 版本号:Request.Browser.MajorVersion;//客户端操作系统:Request.Browser.Platform;服务器ip:Request.ServerVariables.Get("Local_Addr& 阅读全文
posted @ 2013-10-12 15:30 王者杂货铺 阅读(263) 评论(0) 推荐(0)
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceRegister{publicclassHttpClass{privateSystem.Net.HttpWebRequestRequest=null;privateSystem.Net.WebResponseResponse=null;privateSystem.IO.StreamStream=null;privateSystem.IO.StreamReaderRead=null;privateSystem.Byte[]B 阅读全文
posted @ 2013-10-12 15:17 王者杂货铺 阅读(1113) 评论(0) 推荐(0)
摘要:1.TREE表:[strID] [int] IDENTITY(1,1) NOT NULL,[strName] [nvarchar](50) NOT NULL,2.SubInfoCREATE TABLE [dbo].[SubInfo]([SuBID] [int] NOT NULL,[SubTreeID] [nvarchar](max) NULL,SQL语句为:select a.strID,a.strName from Tree as a where exists(select * from SubInfo where charindex(cast(a.strID as varchar(max)) 阅读全文
posted @ 2013-10-11 13:33 王者杂货铺 阅读(3593) 评论(0) 推荐(0)
摘要:public void valid() { string echostr = Request.QueryString["echostr"]; if (!string.IsNullOrEmpty(echostr)) { if (checkSignature()) { Response.Write(echostr); Response.End(); } ... 阅读全文
posted @ 2013-10-10 15:54 王者杂货铺 阅读(581) 评论(0) 推荐(0)