⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adduser.aspx

📁 2007年华中科技大学数据库课程设计参考程序[图书销售系统]+报告
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adduser.aspx.cs" Inherits="ljian_admin_user_adduser" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!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>
    <link href="../../../ljian/admin/style/style_main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="sm" runat="server">
        </asp:ScriptManager>
    
    </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table align="center" bgcolor="#8fb9d0" border="0" cellpadding="4" cellspacing="1"
                    width="500">
                    <tr height="22">
                        <td align="center" bgcolor="#e7f5fd" class="STYLE5" colspan="2" height="24">
                            <strong>添加会员</strong>
                        </td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="11" width="68">
                            <strong>会员编号:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="11" width="413">
                            <asp:TextBox ID="sn" runat="server" Width="186px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="sn"
                                ErrorMessage="会员编号称不能为空"></asp:RequiredFieldValidator><font color="red"></font></td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="11" width="68">
                             <strong>会员名:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="11" width="413">
                            <asp:TextBox ID="username" runat="server" Width="185px"></asp:TextBox></td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="11" width="68">
                             <strong>性别:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="11" width="413">
                            <asp:RadioButtonList ID="sex" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">男</asp:ListItem>
                                <asp:ListItem>女</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="11" width="68">
                             <strong>会员密码:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="11" width="413">
                            <asp:TextBox ID="pwd" runat="server" Width="185px">888888</asp:TextBox></td>
                    </tr>
                    <tr height="22" style="font-weight: bold; color: #000000">
                        <td bgcolor="#e7f5fd" class="t3" height="11" width="68">
                            <span style="background-color: #e7f5fd">会员级别</span>:</td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="11" width="413">
                            <asp:DropDownList ID="usertype" runat="server" DataSourceID="SqlDataSource2" DataTextField="usertype_name"
                                DataValueField="usertype_id" AutoPostBack="True" OnSelectedIndexChanged="usertype_SelectedIndexChanged">
                            </asp:DropDownList><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:OnlineBookSellConnectionString %>"
                                SelectCommand="SELECT * FROM [UserType]">
                            </asp:SqlDataSource>
                        </td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="22">
                            <strong>身份证:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="22">
                            <asp:TextBox ID="idcard" runat="server" Width="294px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="idcard"
                                ErrorMessage="身份证不能为空"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr height="22" style="font-weight: bold; color: #000000">
                        <td bgcolor="#e7f5fd" class="t3" height="22">
                            <strong>Email:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="22" style="background-color: #e7f5fd">
                            <asp:TextBox ID="email" runat="server" Width="139px"></asp:TextBox>&nbsp;<span style="color: #000000;
                                background-color: #e7f5fd"> </span>&nbsp;
                        </td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="22">
                            <strong>联系地址:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="22">
                            <asp:TextBox ID="address" runat="server" Width="185px"></asp:TextBox></td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="22">
                            <strong>联系电话:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="22" style="background-color: #e7f5fd">
                            <asp:TextBox ID="tel" runat="server" Width="185px"></asp:TextBox></td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" style="height: 22px">
                            <strong>邮编:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" style="height: 22px">
                            <asp:TextBox ID="code" runat="server" Width="143px"></asp:TextBox></td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="22">
                            <strong>积分:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="22">
                            <asp:TextBox ID="jifen" runat="server" Width="188px">0</asp:TextBox>
                            <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" FilterType="Numbers"
                                TargetControlID="jifen">
                            </cc1:FilteredTextBoxExtender>
                            &nbsp;&nbsp;
                        </td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="22">
                            <strong>账户余额:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="22">
                            <asp:TextBox ID="yue" runat="server" Width="171px">0</asp:TextBox>
                            <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" FilterType="Numbers"
                                TargetControlID="yue">
                            </cc1:FilteredTextBoxExtender>
                        </td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" height="22">
                            <strong>有效期:</strong></td>
                        <td align="left" bgcolor="#e7f5fd" class="t3" height="22">
                            <asp:TextBox ID="youxiaoqi" runat="server" Width="129px">2019-01-01</asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="youxiaoqi"
                                ErrorMessage="有效期不能为空"></asp:RequiredFieldValidator>&nbsp;
                          <cc1:CalendarExtender CssClass="MyCalendar" ID="CalendarExtender1" runat="server" Format="yyyy-MM-dd" TargetControlID="youxiaoqi">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr height="22">
                        <td bgcolor="#e7f5fd" class="t3" colspan="2" height="22">
                            <strong>备注信息:</strong></td>
                    </tr>
                    <tr height="22">
                        <td align="right" bgcolor="#e7f5fd" class="t3" height="22">
                            &nbsp;
                        </td>
                        <td bgcolor="#e7f5fd" class="t3" height="22" valign="top">
                            &nbsp;<asp:TextBox ID="beizhu" runat="server" Height="88px" TextMode="MultiLine"
                                Width="399px"></asp:TextBox></td>
                    </tr>
                    <tr height="22">
                        <td align="middle" bgcolor="#e7f5fd" class="t3" colspan="2" height="22">
                            &nbsp;<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="提交" />
                            &nbsp;&nbsp;
                            <input name="Submit2" type="reset" value="清除" />
                            &nbsp;
                            <asp:Label ID="tip" runat="server" Text='注:带<font color="red">*</font>为必填项。'></asp:Label>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
        <br />
         <asp:UpdateProgress id="up2" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate> <div id="duquzhong" style=" text-align:center; position :absolute ; bottom :50%; left :50%; width:220px;padding:10px 0px 10px 0px;border:1px solid #ACC1E8;background-color:#ECF2FD; font-size:16px"><img src="../../images/loading.gif" alt="读取中..."  />正在添加,请稍后...</div>   </ProgressTemplate>
    </asp:UpdateProgress>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -