`

C# WebBrowser为Iframe内的网页赋值

    博客分类:
  • C#
 
阅读更多

void Button1Click(object sender, EventArgs e)

  {

   this.webBrowser1.Document.Window.Frames[0].Document.GetElementsByTagName("TEXTAREA")[0].SetAttribute("value", "程序赋值结果");

  }

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics