C#webbroswer 对网页进行网络操作
来源:互联网 发布:阿里云 表单 编辑:程序博客网 时间:2024/05/22 16:49
private void button1_Click(object sender, EventArgs e) { webBrowser1.Navigate("http://www.XX.cn/user/register.php"); }
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { HtmlElement btnSubmit = webBrowser1.Document.All["next"]; HtmlElement AName = webBrowser1.Document.All["AName"]; HtmlElement AOrganization_GB = webBrowser1.Document.All["AOrganization_GB"]; HtmlElement ACity = webBrowser1.Document.All["ACity"]; HtmlElement AStreet1 = webBrowser1.Document.All["AStreet1"];//通信地址 HtmlElement ATel = webBrowser1.Document.All["ATel"]; HtmlElement AMobile = webBrowser1.Document.All["AMobile"]; HtmlElement AEmail = webBrowser1.Document.All["AEmail"]; HtmlElement agreement = webBrowser1.Document.All["agreement"]; AName.SetAttribute("value", "dd"); AOrganization_GB.SetAttribute("value", "开除了"); ACity.SetAttribute("value", "沈阳市"); AStreet1.SetAttribute("value", "不开除"); ATel.SetAttribute("value", "+86.07561546872"); AMobile.SetAttribute("value", "+86.13000000000"); AEmail.SetAttribute("value", "123@qq.com"); btnSubmit.InvokeMember("click"); }
- C#webbroswer 对网页进行网络操作
- 使用Excel+VBA对网页进行操作
- Python3 对网页进行简单爬虫操作
- C对文件进行操作
- webbroswer读取网页alert内容
- C#,递归对给定目录进行操作
- 用c语言对ldap进行操作
- 使用VS(C#) 对Mysql 进行操作
- 用VS2005制作网页对IIS进行操作
- 用VS2005制作网页对IIS进行操作(转帖)
- 用VS2005制作网页对IIS进行操作
- 用VS2005制作网页对IIS进行操作
- 用VS2005制作网页对IIS进行操作
- [转]用VS2005制作网页对IIS进行操作
- 用VS2005制作网页对IIS进行操作
- 对网页进行截图
- webBroswer自动提交表单 webBroser过滤某些标签元素 webBroswer截取网页部分内容 webBroswer 获取 iframe里的元素
- VC在对话框中显示网页并对网页进行操作
- 杯具
- 如何下载Python安装包
- 通往私有云的荆棘路 – 第二部分: 私有云的真正目的
- Nand Flash和Nor Flash
- 大唐风云创始人郭羽:网络创业有两个要素
- C#webbroswer 对网页进行网络操作
- How to Configure Eclipse for Python
- AccessDataSource控件的特殊参数
- JAVA程序员面试必须掌握的33个问题
- TF卡和SD卡
- 重复引用发生的错误
- 双击dsw,打开一个新的vc
- WEB.XML中Lisenter与Servlet的加载顺序
- c 实现 md5 的算法,只由代码,不做解释.抄的网上的留着备用的.