<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ex2-7.aspx.cs" Inherits="Ex2_7" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ex2-7</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        出生地：
        <asp:DropDownList ID="ddlbir" runat="server" Width="86px">
            <asp:ListItem Selected="True" Value="1">北京市</asp:ListItem>
            <asp:ListItem Value="2">上海市</asp:ListItem>
            <asp:ListItem Value="3">重庆市</asp:ListItem>
            <asp:ListItem Value="4">天津市</asp:ListItem>
        </asp:DropDownList>
        <br />
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="提交" />
        <asp:Label ID="lblmes" runat="server" Text="你的出生地是："/>
    </div>
    </form>
</body>
</html>
