0)      {        if(he!=null)        {          HtmlElementCollectionstrong=he.GetElementsByTagName("strong");          label1.Text="已找到第"+strong[0].Children[1].InnerText+"页";          timer1.Stop();  &-IMDN开发者社群-imdn.cn"> 0)      {        if(he!=null)        {          HtmlElementCollectionstrong=he.GetElementsByTagName("strong");          label1.Text="已找到第"+strong[0].Children[1].InnerText+"页";          timer1.Stop();  & - IMDN开发者社群-imdn.cn">
登录
首页 » Windows开发 » C# 自动查询百度排名

C# 自动查询百度排名

于 2022-07-23 发布 文件大小:58.87 kB
0 89
下载积分: 2 下载次数: 1

代码说明:

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();    &

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • 好的源码库
    ZThread库是一个开源的跨平台高级面向对象的线性和sycnchronization 库,以运行POSIX 和Win32 系统中的C++程序。
    2022-05-15 22:30:23下载
    积分:1
  • TC prepared a practical tool Matrix Printer. Rar, including all the library
    TC编写的一个实用的点阵字模工具.rar,包含所有的字库-TC prepared a practical tool Matrix Printer. Rar, including all the library
    2022-03-12 00:49:18下载
    积分:1
  • 在多文档界面中使用TabB ar切换窗口
    在多文档界面中使用TabB ar切换窗口 -in Multi- Document Interface TabB used in MDI use TabBar switching window ar window switches
    2022-07-05 04:00:13下载
    积分:1
  • 用Python 爬取赶集网数据
    练习爬虫的时候,用Python写的练手程序
    2022-01-31 04:42:58下载
    积分:1
  • 要编写一个实现剪切和复制命令的函数,就要在你的应用程序中实现选定操作;要编写一个实现粘贴命令的函数,就需要请求剪贴板来检测它是否包含你的应用程序能够支持的数据。...
    要编写一个实现剪切和复制命令的函数,就要在你的应用程序中实现选定操作;要编写一个实现粘贴命令的函数,就需要请求剪贴板来检测它是否包含你的应用程序能够支持的数据。下面的代码实现了复制命令,其它实现可仿照进行,在此不再赘言。 -prepared to achieve an order shear and reproduction function, it is necessary to your application process to achieve selected operation; To prepare a sealed order to achieve the function, on the need to request the clipboard to detect whether it contains your applications can support data. The following code to achieve the reproduction order to be modeled on the other to achieve, and in this stop drilling.
    2023-06-24 14:30:03下载
    积分:1
  • IP地址读取 IP地址读取
    IP地址读取 IP地址读取
    2022-04-12 10:31:23下载
    积分:1
  • Vision and system design magazine 2009 January
    Vision and system design magazine 2009 January
    2022-01-31 06:54:43下载
    积分:1
  • dialog control resizer
    dialog control resizer
    2022-05-18 06:57:03下载
    积分:1
  • Enhanced Tk Console for all Tk platforms
    Enhanced Tk Console for all Tk platforms-WHAT: Enhanced Tk Console for all Tk platforms WHERE: http://tkcon.sourceforge.net/ http://www.purl.org/net/hobbs/tcl/script/ REQUIREMENTS: Tcl/Tk 8.0+ Tested through Tcl/Tk 8.5. tkcon is all Tcl/Tk code, no compiling required tkcon is a replacement for the standard console that comes with Tk (on Windows/Mac, but also works on Unix). tkcon provides many more features than the standard console and works on all platforms where Tcl/Tk is available. It is meant primarily to aid one when working with the little details inside tcl and tk and to give Unix users the GUI console provided by default in the Mac and Windows Tk. FEATURES: Command history Path (Unix style)/Proc/Variable name expansion Multiple and tabbed consoles, each with its own state (via multiple interpreters) Captures stdout and stderr to console window (puts overridden) Hot errors (click on error
    2022-02-03 02:19:33下载
    积分:1
  • MATLAB编写的GPS伪距单点定位.精度大约在10M
    MATLAB编写的GPS伪距单点定位.精度大约在10M-20M之间。-MATLAB prepared by the GPS pseudo-range single-point positioning
    2022-03-01 19:51:01下载
    积分:1
  • 696518资源总数
  • 104787会员总数
  • 23今日下载