<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ex2-15.aspx.cs" Inherits="Ex2_15" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ex2-15</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        请选择头像：
        <asp:DropDownList ID="ddl1" AutoPostBack="True" runat="server" onselectedindexchanged="ddl1_SelectedIndexChanged">
            <asp:ListItem Value="man1" Selected="True">男生头像1</asp:ListItem>
            <asp:ListItem Value="wom1">女生头像1</asp:ListItem>
            <asp:ListItem Value="man2">男生头像2</asp:ListItem>
            <asp:ListItem Value="wom2">女生头像2</asp:ListItem>
        </asp:DropDownList><br />
        <asp:Image ID="Image1" runat="server" Height="140px" Width="140px" />
    </div>
    </form>
</body>
</html>
