相关代码 |
|
Ch08-05-01.aspx Web控件的HyperLink控件 ' 用户单击"Button控件"的事件处理程序 Sub Button1_Click(obj As Object, e As EventArgs) Show1.InnerHTML = "门户网站列表:" Link1.Text="网易" Link1.NavigateURL = "Http://www.163.com/" link2.text ="新浪" Link2.NavigateURL = "Http://www.sina.com/" link3.text ="雅虎" Link3.NavigateURL = "Http://www.yahoo.com/" link4.text ="搜狐" Link4.NavigateURL = "Http://www.sohu.com/" End Sub OnClick="Button1_Click" Runat="Server" />
相关资源 |
|