摘要: 自动填入选择下拉列表 HtmlDocument doc = webBrowser1.Document; HtmlElement el = doc.GetElementById("下拉列表框的ID"); el.SetAttribute("selectedIndex", "1"); //选择第二项,根据你情况自己设置 自动填入文本框 HtmlDocument doc = webBrowser1.Document; HtmlElement el = doc.GetElementById("文本框ID"); el.SetA 阅读全文
posted @ 2012-02-24 09:57 守望幸福的猪 阅读(273) 评论(0) 推荐(0) 编辑