c# 通过 webbrowser 自动填入值 怎么写哇!?急哇?!

解决方案 »

  1.   

    webBrowser1.Document.GetElementById("username").SetAttribute("value", "test");  
    *****************************************************************************
    欢迎使用CSDN论坛专用阅读器 : CSDN Reader(附全部源代码) http://feiyun0112.cnblogs.com/
      

  2.   

    good good study ,day day up
      

  3.   

    不对的。如果遇到有ifrma的呢?!
    哈哈,我已经解决了。 this.webBrowser1.Document.Window.Frames[“iframes的具体的索引”].Document.GetElementById("uid").Focus();