资 源 简 介
C#自动查询网站在百度的排名,精确,上传成功有声音提示string txt = textBox1.Text.Trim(); int index = webBrowser1.Document.Body.InnerHtml.IndexOf(txt); HtmlElement he = webBrowser1.Document.GetElementById("page"); if (index > 0) { if (he != null) { HtmlElementCollection strong = he.GetElementsByTagName("strong"); label1.Text = "已找到 第 " + strong[0].Children[1].InnerText + " 页"; timer1.Stop(); &