|
-
Mar 30th, 2004, 01:22 AM
#1
Thread Starter
New Member
drop down list link [resolved]
Currently I select on the drop list and press a button, then i will be link to the selection of the drop list. But I want to navigate without the button, which means when I select on the drop list, it will bring me to the page. Below are the codes that I am using, Can anybody please help me, thanks
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button.Click
Dim busnumber As String
busnumber = "temp\" & ComboBox1.Text & ".htm"
Dim sr As StreamReader = New StreamReader(busnumber)
Dim line As String
line = sr.ReadToEnd()
sr.Close()
viewer.DisplayText(line)
End Sub
Last edited by xiaofei; Mar 30th, 2004 at 01:35 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|