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&
阅读全文
摘要: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
阅读全文
摘要: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))
阅读全文
摘要:public void valid() { string echostr = Request.QueryString["echostr"]; if (!string.IsNullOrEmpty(echostr)) { if (checkSignature()) { Response.Write(echostr); Response.End(); } ...
阅读全文