<%@ 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: x-large;
            color: #008080;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table align="center" style="width: 450px; ">
            <tr>
                <td align="center" class="style1">
                    动态创建文件并输入文件内容<br />
                </td>
            </tr>
            <tr>
                <td align="center" >
                    请输入文件名及类型：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center">
                    要输入的文件内容：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                    <br />
                    <br />
                    <asp:TextBox ID="TextBox2" runat="server" Height="150px" TextMode="MultiLine" 
                        Width="290px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" >
                    <asp:Button ID="Button1" runat="server" Height="43px" onclick="Button1_Click" 
                        Text="创建文件并输入内容" Width="165px" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
