<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ch6-1-2.aspx.cs" Inherits="ch7_1_2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 114px">
    
        <asp:Label ID="Label1" runat="server" 
            style="position:absolute; top: 22px; left: 39px;" Text="Select one item:" 
            Font-Bold="True" Font-Size="12pt"></asp:Label>
    
        <asp:DropDownList ID="BookList" runat="server" style="position:absolute; top: 59px; left: 49px;"
            onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
            Font-Bold="True" Font-Size="12pt">
            <asp:ListItem Value="5000">Data structure in C</asp:ListItem>
            <asp:ListItem Value="8000">Software engineering</asp:ListItem>
            <asp:ListItem Value="8500">programming with C</asp:ListItem>
        </asp:DropDownList>
    
        <asp:Button ID="Button1" runat="server" 
            style="top: 96px; left: 53px; position: absolute; height: 26px; width: 68px; right: 881px;" 
            Text="Submit" Font-Bold="True" Font-Size="12pt" onclick="Button1_Click" />
        <asp:Label ID="Label2" runat="server" 
            style="position:absolute; top: 99px; left: 140px;" Font-Bold="True" 
            Font-Size="12pt" Visible="False"></asp:Label>
    
    </div>
    </form>
</body>
</html>
