PageLoadData.aspx

来源:互联网 发布:乐视会员淘宝 编辑:程序博客网 时间:2024/05/22 04:42

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

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align :center; background-color: White">
        <table id="Table1" style="background-color:#DEBA84;width:749px" border="0" cellpadding="4" cellspacing="1"
             >
            <tr>
                <td style="background-color: #DEBA84; height: 32px">
                    您的大名</td>
                <td style="background-color: #DEBA84; width: 508px; height: 32px">
                    <asp:TextBox ID="txtName" runat="server"
                         MaxLength="10" Width="519px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="background-color: #DEBA84;" colspan="1" rowspan="1" >
                    E-Mail</td>
                <td style="background-color:#DEBA84; width: 505px" >
                    <p>
                        <asp:TextBox ID="txtEmail" runat="server"
                            MaxLength="30" Width="519px"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
                            ControlToValidate="txtEmail" ErrorMessage="电子邮件格式不正确"
                            ValidationExpression="/w+([-+.']/w+)*@/w+([-.]/w+)*/./w+([-.]/w+)*"></asp:RegularExpressionValidator>
                    </p>
                </td>
            </tr>
            <tr>
                <td style="background-color:#DEBA84" colspan="1" rowspan="1">
                    内容</td>
                <td style="background-color:#DEBA84; width: 505px">
                    <p>
                        <asp:TextBox ID="txtContent" runat="server" Height="160px"
                            TextMode="MultiLine" Width="519px"></asp:TextBox></p>
                </td>
            </tr>
        </table>
        <p >
            <asp:RadioButtonList ID="radioList" runat="server" AutoPostBack="True"
                onselectedindexchanged="radioList_SelectedIndexChanged" Width="149px"
                RepeatLayout="Flow" ToolTip="请选择数据库类型">
                <asp:ListItem>XML数据库</asp:ListItem>
                <asp:ListItem>Access数据库</asp:ListItem>
            </asp:RadioButtonList>
            <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click"
                Text=" 提 交(S)" Enabled="False" AccessKey="S" ToolTip="快捷键(Alt+S)"
                Font-Size="Medium" Height="32px" Width="100px" />
            &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
            <asp:Button ID="btnView" runat="server" OnClick="btnView_Click" Text="查 看(V)"
                Width="100px" Enabled="False" AccessKey="V" ToolTip="快捷键(Alt+V)"
                Font-Size="Medium" Height="32px" /></p>
    </div>
    </form>
</body>
</html>

原创粉丝点击