<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ex6-2.aspx.cs" Inherits="Ex6_2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ex6-2</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DropDownList ID="ddlfri" runat="server" AutoPostBack="True" onselectedindexchanged="ddlfri_SelectedIndexChanged">
            <asp:ListItem Value="Ex6-2.aspx">友情链接</asp:ListItem>
            <asp:ListItem Value="http://baidu.com">百度</asp:ListItem>
            <asp:ListItem Value="http://taobao.com">淘宝网</asp:ListItem>
            <asp:ListItem Value="http://sohu.com">搜虎</asp:ListItem>
        </asp:DropDownList>
        <asp:LinkButton ID="lkbtnfri" runat="server" onclick="lkbtnfri_Click">转向链接网站</asp:LinkButton>
    </div>
    </form>
</body>
</html>
