MatCodeAdd.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:5k
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MatCodeAdd.aspx.cs" Inherits="MatCode_MatCodeAdd" %>
- <!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">
- <base target="_self" />
- <title>添加物资代码</title>
-
- </head>
- <body bgcolor="#f7f7f7">
- <form id="form1" runat="server" >
-
- <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
- <tr valign="middle">
- <td height="25px" width="17%" >
- <img src="../../Images/assignuser.ico" height="30" >
- </td>
- <td align="left" width="83%" style="font-size:15px">
- <strong> 增加物资代码 </strong>
- </td>
- </tr>
- <tr>
- <td background="../Images/Menu_bg.jpg" height="20px" colspan="2">
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
- <tr>
- <td style="width:50%;" valign="top">
- <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
- <tr>
- <td valign="top" style="width:80px;" align="left"> 物 资 代 码: </td>
- <td valign="top"> <asp:TextBox ID="TB_MatCode" runat="server"></asp:TextBox>
- <br />
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填" ControlToValidate="TB_MatCode" ValidationGroup="SaveButton" Display="Dynamic"></asp:RequiredFieldValidator>
- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TB_MatCode"
- Display="Dynamic" ErrorMessage="必须是数字" ValidationExpression="^[0-9]{1,20}$" ValidationGroup="SaveButton"></asp:RegularExpressionValidator></td>
- </tr>
- </table>
- </td>
- <td style="width:50%;" >
- <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
- <tr>
- <td valign="top" >
- 物 资 描 述:
- </td>
- <td valign="top">
- <asp:TextBox ID="TB_MatDecs" runat="server" TextMode="MultiLine" ></asp:TextBox></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
- <tr>
- <td valign="top" style="width:80px"> 物资代码名称:</td>
- <td valign="top" align="left">
- <asp:TextBox ID="TB_MatName" runat="server" TextMode="MultiLine" Width="216px"></asp:TextBox>
- </td>
- <td></td>
- </tr>
- </table>
- </td>
-
- </tr>
- </table>
- </td>
- </tr>
- </TABLE>
- <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
- <tr height="10px" >
- <td style="height: 10px;" colspan="4"> </td>
- </tr>
-
- <tr height="1px" bgcolor="black">
- <td style="height: 1px;" colspan="4"> </td>
- </tr>
- <tr height="10px" >
- <td style="height: 10px;" colspan="4"> </td>
- </tr>
-
- <tr>
- <td style="height: 24px;" colspan="4" align="center">
- <asp:ImageButton ID="BT_Confirm" runat="server" ImageUrl="~/Images/queding.gif" ToolTip="确定" OnClick="BT_Confirm_Click"
- ValidationGroup="SaveButton" />
- <asp:ImageButton ID="BT_Cancel" runat="server" ImageUrl="~/Images/quxiao.gif" ToolTip="取消" OnClientClick="javascript:if(confirm('确认离开此页面吗?')){window.close();}" /></td>
- </tr>
-
- </TABLE>
-
-
- </form>
- </body>
- </html>