MatCodeUpdate.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:4k
源码类别:

.net编程

开发平台:

C#

  1. <%@ page language="C#" autoeventwireup="true" inherits="MatCode_MatCodeUpdate, App_Web_tiipho30" theme="Normal" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.     <base target="_self"/>
  7. </head>
  8. <body  bgcolor="#f7f7f7">
  9.     <form id="form1" runat="server" >
  10.     
  11.      <TABLE width="100%"  border="0" cellPadding="0" cellSpacing="0" >
  12.         <tr valign="middle">
  13.             <td height="25px" width="17%" > 
  14.              &nbsp;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <img src="../../Images/assignuser.ico" height="30" >
  15.             </td>
  16.             <td  align="left"   width="83%" style="font-size:15px">
  17.                 <strong>   修改物资代码   </strong>
  18.             </td>
  19.         </tr> 
  20.         <tr>
  21.          <td background="../../Images/Menu_bg.jpg"  height="20px">
  22.             &nbsp; &nbsp;  <img src="../../Images/assignuser.ico" height="15px">     
  23.            </td>
  24.           <td  background="../../Images/Menu_bg.jpg"  align="left">
  25.            
  26.            </td>
  27.         </tr>
  28.         </TABLE>
  29.        <TABLE width="100%"  border="0" cellPadding="0" cellSpacing="0" >
  30.           <tr>
  31.             <td style="height: 24px" >&nbsp;物资代码ID:
  32.             </td>
  33.             <td style="height: 24px" >     &nbsp;<asp:TextBox ID="TB_ID" runat="server" ReadOnly="True"></asp:TextBox>      
  34.             </td>
  35.              <td style="height: 24px">&nbsp;&nbsp;物资名称:
  36.              </td>
  37.             <td align="left" style="height: 24px">&nbsp;<asp:TextBox ID="TB_MatName" runat="server" Width="159px"></asp:TextBox>      
  38.                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TB_MatName"
  39.                     Display="Dynamic" ErrorMessage="*" ValidationGroup="save"></asp:RequiredFieldValidator></td>
  40.           </tr>
  41.           <tr>
  42.             <td style="height: 24px" align="left">
  43.                 &nbsp; &nbsp; 物资代码:</td>
  44.              <td style="height: 24px">
  45.                  &nbsp;<asp:TextBox ID="TB_MatCode" runat="server"></asp:TextBox>
  46.                  <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TB_MatCode"
  47.                      Display="Dynamic" ErrorMessage="*" ValidationGroup="save"></asp:RequiredFieldValidator>
  48.                                      <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TB_MatCode"
  49.                     Display="Dynamic" ErrorMessage="必须是数字" ValidationExpression="^[0-9]{1,20}$"  ValidationGroup="save">
  50.                     </asp:RegularExpressionValidator></td>
  51.               <td style="height: 24px">  &nbsp; 物资描述:
  52.               </td>
  53.              <td style="height: 24px">  &nbsp;<asp:TextBox ID="TB_MatDecs" runat="server" Width="160px" TextMode="MultiLine"></asp:TextBox></td>
  54.           </tr> 
  55.              <tr height="10px">
  56.              <td> &nbsp;  </td>
  57.              <td>  </td>
  58.               <td>  </td>
  59.              <td>  </td>
  60.           </tr> 
  61.              <tr height="1px" bgcolor="black">
  62.              <td>  </td>
  63.              <td>  </td>
  64.               <td>  </td>
  65.              <td>  </td>
  66.           </tr>
  67.              <tr height="10px">
  68.              <td>&nbsp;  </td>
  69.              <td>  </td>
  70.               <td>  </td>
  71.              <td>  </td>
  72.           </tr>  
  73.           
  74.           <tr>
  75.              <td style="height: 24px" colspan="4" align="center">
  76.                  <asp:ImageButton ID="BT_Confirm" runat="server" ImageUrl="~/Images/queding.gif"  OnClick="BT_Confirm_Click"  ValidationGroup="save" />
  77.                  <asp:ImageButton ID="BT_Cancel" runat="server" ImageUrl="~/Images/quxiao.gif"  OnClientClick="javascript: if(confirm('确认离开此页面吗?')){window.close();}"  /></td>
  78.           </tr> 
  79.           
  80.         </TABLE>
  81.         
  82.       
  83.     </form>
  84. </body>
  85. </html>