aa="http://"&Request.ServerVariables("server_name")&Request.ServerVariables("path_info")
aa= mid(aa,1,len(aa)-18)
content=replace(content,aa,"")我改成这样不对:string aa="http://"+Request.ServerVariables("server_name")+Request.ServerVariables("path_info");
aa= mid(aa,1,len(aa)-18);content=content.Replace(aa,"");
编译器错误信息: CS0118: “System.Web.HttpRequest.ServerVariables”表示“属性”,此处应为“方法”
aa= mid(aa,1,len(aa)-18)
content=replace(content,aa,"")我改成这样不对:string aa="http://"+Request.ServerVariables("server_name")+Request.ServerVariables("path_info");
aa= mid(aa,1,len(aa)-18);content=content.Replace(aa,"");
编译器错误信息: CS0118: “System.Web.HttpRequest.ServerVariables”表示“属性”,此处应为“方法”
aa = aa.Substring(0, aa.Length-18);
content = content.Replace(aa, "");
aa=aa.Substring(0,aa.Length-18);