ModifyBook.aspx
上传用户:gooyliu
上传日期:2018-09-29
资源大小:5816k
文件大小:6k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" MasterPageFile="~/SysAdmin/sysAdminMasterPage.Master" AutoEventWireup="true"
  2.     CodeBehind="ModifyBook.aspx.cs" Inherits="Web.SysAdmin.ModifyBook" Title="修改图书" %>
  3. <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  4.     <div>
  5.         <table style="font-size: 12px; font-family: Tahoma; border-collapse: collapse;" width="400"
  6.             border="1" bordercolor="#2c6ed5" cellspacing="0" cellpadding="0" align="left
  7.     " id="TABLE1" language="javascript" onclick="return TABLE1_onclick()">
  8.             <tr>
  9.                 <td align="center" colspan="2">
  10.                     <font size="5" face="隶书">修改图书</font>
  11.                 </td>
  12.             </tr>
  13.             <tr>
  14.                 <td>
  15.                     书名:
  16.                 </td>
  17.                 <td>
  18.                     <asp:TextBox ID="txtName" runat="server" Width="193px"></asp:TextBox>*
  19.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="此项不能为空"
  20.                         ControlToValidate="txtName"></asp:RequiredFieldValidator>
  21.                 </td>
  22.             </tr>
  23.             <tr>
  24.                 <td style="height: 23px">
  25.                     索取号:
  26.                 </td>
  27.                 <td style="height: 23px">
  28.                     <asp:TextBox ID="txtIndex" runat="server" Width="192px"></asp:TextBox>*
  29.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtIndex"
  30.                         ErrorMessage="此项不能为空"></asp:RequiredFieldValidator>
  31.                 </td>
  32.             </tr>
  33.             <tr>
  34.                 <td>
  35.                     图书类型:
  36.                 </td>
  37.                 <td>
  38.                     <asp:RadioButtonList ID="rblClassify" runat="server" Font-Size="9pt" RepeatDirection="Horizontal">
  39.                         <asp:ListItem Value="0" Selected="True">社会科学</asp:ListItem>
  40.                         <asp:ListItem Value="1">自然科学</asp:ListItem>
  41.                         <asp:ListItem Value="2">综合性图书</asp:ListItem>
  42.                         <asp:ListItem Value="3">哲学</asp:ListItem>
  43.                     </asp:RadioButtonList>
  44.                 </td>
  45.             </tr>
  46.             <tr>
  47.                 <td>
  48.                     作者名:
  49.                 </td>
  50.                 <td>
  51.                     <asp:TextBox ID="txtAuthor" runat="server" Width="192px"></asp:TextBox>*
  52.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="此项不能为空"
  53.                         ControlToValidate="txtAuthor"></asp:RequiredFieldValidator>
  54.                 </td>
  55.             </tr>
  56.             <tr>
  57.                 <td>
  58.                     出版社:
  59.                 </td>
  60.                 <td>
  61.                     <asp:TextBox ID="txtPublish" runat="server" Width="192px"></asp:TextBox>*
  62.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="此项不能为空"
  63.                         ControlToValidate="txtPublish"></asp:RequiredFieldValidator>
  64.                 </td>
  65.             </tr>
  66.             <tr>
  67.                 <td>
  68.                     定价(元):
  69.                 </td>
  70.                 <td>
  71.                     <asp:TextBox ID="txtPrice" runat="server" Width="192px"></asp:TextBox>*
  72.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="此项不能为空"
  73.                         ControlToValidate="txtPrice"></asp:RequiredFieldValidator><br>
  74.                     <asp:RegularExpressionValidator ID="RegularExpressionValidator" runat="server" ErrorMessage="输入有误,请重输"
  75.                         ValidationExpression="(d{1,}.d*)|(d{1,})" ControlToValidate="txtPrice"></asp:RegularExpressionValidator>
  76.                 </td>
  77.             </tr>
  78.             <tr>
  79.                 <td>
  80.                     出版时间:
  81.                 </td>
  82.                 <td>
  83.                     <asp:DropDownList ID="ddlYear" runat="server">
  84.                     </asp:DropDownList>
  85.                     年
  86.                     <asp:DropDownList ID="ddlMonth" runat="server">
  87.                     </asp:DropDownList>
  88.                     月
  89.                     <asp:DropDownList ID="ddlDay" runat="server">
  90.                     </asp:DropDownList>
  91.                     日
  92.                 </td>
  93.             </tr>
  94.             <tr>
  95.                 <td>
  96.                     主题词:
  97.                 </td>
  98.                 <td>
  99.                     <asp:TextBox ID="txtSubject" runat="server" Width="252px"></asp:TextBox>*
  100.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtSubject"
  101.                         ErrorMessage="此项不能为空"></asp:RequiredFieldValidator>
  102.                 </td>
  103.             </tr>
  104.             <tr>
  105.                 <td>
  106.                     说明:
  107.                 </td>
  108.                 <td>
  109.                     <asp:TextBox ID="txtDescription" runat="server" Width="334px" TextMode="MultiLine"
  110.                         Height="64px"></asp:TextBox>
  111.                 </td>
  112.             </tr>
  113.             <tr>
  114.                 <td colspan="2" align="center">
  115.                     <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label><br />
  116.                     <asp:ImageButton ID="imgBtnAdd" runat="server" ImageUrl="~/Images/Update.GIF" OnClick="imgBtnUpdate_Click" />
  117.                     &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
  118.                     <asp:ImageButton ID="imgBtnReturn" runat="server" 
  119.                         ImageUrl="~/Images/RETURN.GIF" onclick="imgBtnReturn_Click" />
  120.                 </td>
  121.             </tr>
  122.         </table>
  123.     </div>
  124. </asp:Content>