C#网页填表
//截取于写的邮箱批量登陆
HtmlElement btnSubmit=webBrowser1.Document.All["login_img"]; //获取提交按钮
HtmlElement tbUserid=tbUserid = webBrowser1.Document.getElementById("username"); //获取用户名框
HtmlElement tbPasswd= tbPasswd = webBrowser1.Document.getElementById("password"); //获取密码框
tbUserid.SetAttribute("value", strArray[0]); // 设置值
tbPasswd.SetAttribute("value", strArray[1]);
btnSubmit.InvokeMember("click"); //操作/单击