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

📄 borrowbookedit.aspx

📁 管理系统源码 很好的用于参考很好对开发毕业设计很有帮助
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BorrowBookEdit.aspx.cs" Inherits="Pages_BorrowBookEdit" %>

<%@ Register Assembly="ZLTextBox" Namespace="BaseText" 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 type="text/css" href="../CSS/WsmStyle.css" rel="Stylesheet" />

    <script type="text/javascript">
        function  textCounter(field,   maxlimit)  
           {     
          if   (field.value.length   >   maxlimit)     
          field.value   =   field.value.substring(0,   maxlimit);     
          }  
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table style="width: 100%" cellspacing="0" cellpadding="0" border="0" align="center">
                <tr>
                    <td style="height: 25px; width: 10%" align="right">
                        图书名称:
                    </td>
                    <td style="height: 25px; width: 11%" align="left">
                        <asp:TextBox ID="txtBookName" runat="server" Width="120px"></asp:TextBox><asp:Label ID="lblID" runat="server" Visible="False"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtBookName"
                            Display="Dynamic" ErrorMessage="请填写图书名称!" ValidationGroup="ctn"></asp:RequiredFieldValidator></td>
                    <td style="height: 25px; width: 8%" align="right">
                        借阅人:
                    </td>
                    <td style="height: 25px; width: 20%" align="left">
                        <asp:TextBox ID="txtBorrowPeople" runat="server" Width="120px" MaxLength="20"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtBorrowPeople"
                            Display="Dynamic" ErrorMessage="请填写借阅人!" ValidationGroup="ctn"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="height: 25px; width: 10%" align="right">
                        &nbsp;&nbsp;
                        数 &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; 量:
                    </td>
                    <td style="height: 25px; width: 11%" align="left">
                        <cc1:ZLTextBox ID="txtQuantity" runat="server" InputType="number" MaxLength="4" Width="120px"></cc1:ZLTextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtQuantity" Display="Dynamic"
                            ErrorMessage="请填写数量!" ValidationGroup="ctn"></asp:RequiredFieldValidator></td>
                    <td style="height: 25px; width: 8%" align="right">
                        单 &nbsp; &nbsp;&nbsp; 位:
                    </td>
                    <td style="height: 25px;" align="left">
                        <asp:DropDownList ID="ddlUnit" runat="server" Width="125px">
                            <asp:ListItem>本</asp:ListItem>
                            <asp:ListItem>套</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="height: 25px; width: 10%" align="right">
                        借阅日期:
                    </td>
                    <td style="height: 25px; width: 11%" align="left">
                        <cc1:ZLTextBox ID="txtBorrowDate" runat="server" InputType="date" IsDisplayTime="False"
                            Width="120px"></cc1:ZLTextBox></td>
                    <td style="height: 25px; width: 8%" align="right">
                        计划归还日期:
                    </td>
                    <td style="height: 25px; width: 20%" align="left">
                        <cc1:ZLTextBox ID="txtPlanReturnDate" runat="server" InputType="date" IsDisplayTime="False"
                            Width="120px"></cc1:ZLTextBox></td>
                </tr>
                <tr>
                    <td style="height: 25px; width: 8%" align="right">
                        经手人:
                    </td>
                    <td style="height: 25px; width: 20%" align="left">
                        <asp:TextBox ID="txtHandlingPeople" runat="server" Width="120px" MaxLength="20"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator3" runat="server" Display="Dynamic" ErrorMessage="请填写经手人!"
                            ValidationGroup="ctn" ControlToValidate="txtHandlingPeople"></asp:RequiredFieldValidator></td>
                    <td style="height: 25px; width: 10%" align="right">
                        备 &nbsp; 注:
                    </td>
                    <td style="height: 25px; width: 20%" align="left">
                        <asp:TextBox ID="txtRemark" runat="server" Width="120px" TextMode="MultiLine" onPropertyChange="textCounter(this,100)"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="height: 40px;" align="center" colspan="4">
                        <br />
                        <br />
                        <asp:ImageButton ID="btnOK" runat="server" AlternateText="提 交" ImageUrl="~/images/btn_Submit.jpg"
                            ValidationGroup="ctn" OnClick="btnOK_Click" />
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        <asp:ImageButton ID="btnCancel" runat="server" OnClick="btnCancel_Click" AlternateText="取 消"
                            ImageUrl="~/images/btn_Cancel.jpg" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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