我想将变量值从我的vb.net发送到php 我的HTML代码看起来像这样
<form action="something.php" method="post">
<input type="text" name="name" class="mat-input" id="first-name">
</form>
现在,当我按回车时,此表格将提交,我必须为此创建vb.net
我已经尝试了
WebBrowser1.Document.GetElementById("first-name").SetAttribute("value", TextBox1.Text)
Private Sub submit_Click(sender As Object, e As EventArgs) Handles submit.Click
WebBrowser1.Navigate("https://example.net/something/something.php")
End Sub