在vb.net中填写的网页表格 [英] webpage form filling with in vb.net

查看:316
本文介绍了在vb.net中填写的网页表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想学习如何将数据提交到html页面上的表单.

例如:

<form action="http://coolpage.com/collpage.php" method="post" id="helloform">
<p><input type="text" name="author" id="author" value="" size="22" tabindex="1" />
<label for="author"><small>Name (required)</small></label></p>
<p><input type="text" name="email" id="email" value="" size="22" tabindex="2" />
<label for="email"><small>E-mail (required)</small></label></p>
<p><input type="text" name="url" id="url" value="" size="22" tabindex="3" />
<label for="url"><small>Website</small></label></p>
<p><textarea name="your_info" id="your_info" cols="100%" rows="10" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
<input type="hidden" name="my_ID" value="304" id="my_ID" />
<input type="hidden" name="mynt" id="mynt" value="0" />
</p>

</form>



如何在不使用Webbrowser控件的情况下通过vb.net或C#填充页面(我知道如何使用Webbrowser做到这一点)?

我不记得了,但是我们可以提交具有发布"操作的表单.

解决方案

我不知道如何执行此操作,但是幸运的是,我知道如何使用google [



How do I fill the page through vb.net or C# without using a webbrowser control (I know how to do it with webbrowser)?

I don''t remember but we can submit forms which have ''post'' action.

Any code snippet or other reference would be appreciated.

解决方案

I have no idea how to do this, but lucky for you, I know how to use google[^].


这篇关于在vb.net中填写的网页表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆