VB.net问题
Public Class Form1Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If R1.AutoCheck = True Then
WEB2.Navigate("http://www.baidu.com/s?wd=" & me.T1.Text)
End If
If R2.AutoCheck = True Then
WEB2.Navigate("http://www.google.cn/search?hl=zh-CN&q=" & me.T1.Text)
End If
End Sub
End Class
我的问题是:
我选择 百度 (单选框)就 应该是百度引擎
但是他却是 谷歌 。为什么会这样
我选择 谷歌 还是谷歌
--------------------编程问答-------------------- If R1.AutoCheck = True Then
WEB2.Navigate("http://www.baidu.com/s?wd=" & me.T1.Text)
ELSEIF R2.AutoCheck = True Then
WEB2.Navigate("http://www.google.cn/search?hl=zh-CN&q=" & me.T1.Text)
End If
试试行不?
补充:VB , 网络编程