<%@ 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>动态显示和修改文本文件内容</title>
    <style type="text/css">

    .style1
    {
        font-family: 华文新魏;
        font-size: xx-large;
        color: #008000;
        font-weight: bold;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table align="center" style="width: 450px;">
            <tr>
                <td align="center" class="style1" colspan="2">
                    动态显示和修改文本文件内容</td>
            </tr>
            <tr>
                <td align="right">
                    选择要显示和修改的文件：</td>
                <td align="center">
                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                        Height="16px" onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
                        Width="208px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right" valign ="top">
                    文件内容：</td>
                <td align="center">
                    <asp:TextBox ID="TextBox1" runat="server" Height="159px" 
                         TextMode="MultiLine" Width="227px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <asp:Button ID="Button1" runat="server" Height="39px" onclick="Button1_Click" 
                        Text="修改文件内容" Width="114px" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
