62,074
社区成员
发帖
与我相关
我的任务
分享
XmlDocument xml = new XmlDocument();
xml.Load("http://www.youdao.com/smartresult-xml/search.s?type=ip&q=" + userIP);
string addr_name = xml.SelectSingleNode("//product/location").InnerText;
//return addr_name.Substring(0, 2);
Response.Write(addr_name);