<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!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>利用Session对象实现留言板</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label1" runat="server" Text="利用Session对象实现留言板" Font-Bold="True" 
            Font-Size="X-Large"></asp:Label>
    
        <br />
        <asp:Label ID="Label2" runat="server" 
            Text="——————————————————————————"></asp:Label>
        <br />
        <asp:Label ID="Label3" runat="server" Text="姓名："></asp:Label>
&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <br />
        <br />
        <asp:Label ID="Label4" runat="server" Text="留言内容："></asp:Label>
        <br />   <br />
        <asp:TextBox ID="TextBox2" runat="server" Height="181px" TextMode="MultiLine" 
            Width="333px"></asp:TextBox>
     

    
        <br /><br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" Text=" 确 定 " onclick="Button1_Click" /> 
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button2" runat="server" Text=" 取 消 " onclick="Button2_Click" />
        
     

    
    </div>
    </form>
</body>
</html>
