摘要: //捉取页面 protected void Button1_Click(object sender, EventArgs e) { WebRequest webRequest = WebRequest.Create(this.txtSearch.Text.Trim()); WebResponse webResponse = webRequest.GetResponse(); Stream stream = webResponse.GetResponseStream(); //StreamReader sr = new StreamReader(stream); StreamReader sr 阅读全文
posted @ 2011-08-17 17:22 solomon_Blog 阅读(313) 评论(0) 推荐(0) 编辑
摘要: function getUrlParameter(name) { /// <summary>获得URL的指字参数</summary> /// <param name="name" type="String">参数名</param> var url = location.href; var index = url.indexOf("?"); var result = "null"; if (index > 0) { var items = url.substrin 阅读全文
posted @ 2011-08-17 12:41 solomon_Blog 阅读(375) 评论(0) 推荐(0) 编辑