the html source code is
I need to fill
_CD_BIRTH
_CD_IDNO
and submit search button
![Name: 2020-09-04_102124.jpg
Views: 26
Size: 8.1 KB]()
I use
but it not work
I need help, please
Thank you very much!
Code:
<table style="width: 700px; border: 0;">
<tr>
<td rowspan="3" align="center" nowrap bgcolor="#E9F2F8">查詢功能表</td>
<td colspan="3" class="text-center" style="background-color: #E9F2F8; white-space: nowrap;">
<span style="color: #FF0000;">*請任選兩個欄位輸入條件</span><br>
<span style="color: #FF0000;">*Please input any two of the three fields</span>
</td>
<td rowspan="3" class="text-center" style="background-color: #CCFFFF; white-space: nowrap;"><table border='1' cellpadding='0' cellspacing='0'>
<tr>
<td><button type="submit" class="btn btn-default" name="_CD_CONBT" title="11" value="Search">Search</button></td></tr></table></td>
</tr>
<tr>
<td class="text-center" style="background-colo: #E9F2F8; white-space: nowrap;">
出生日期 Date of Birth<br>[西元年 YYYYMMDD]
</td>
<td class="text-center" style="background-colo: #E9F2F8; white-space: nowrap;">身分證字號 ID No.</td>
<td class="text-center" style="background-colo: #E9F2F8; white-space: nowrap;">姓名 Name</td>
</tr>
<tr>
<td class="text-center"><input type="text" name="_CD_BIRTH" value="" size="10" /><div> </div></td>
<td class="text-center"><input type="text" name="_CD_IDNO" value="" size="10" /><div> </div></td>
<td class="text-center"><input type="text" name="_CD_STUNAM" value="" size="10" /><div> </div></td>
</tr>
</table>
I need to fill
_CD_BIRTH
_CD_IDNO
and submit search button
I use
Code:
WebBrowser1.Document.getElementByName("_CD_BIRTH").Value = Text2.Text
WebBrowser1.Document.getElementByName("_CD_IDNO").Value = Text3.Text
WaitTime (0.5)
WebBrowser1.Document.getElementById("_CD_CONBT").Click
I need help, please
Thank you very much!