ArticlesInfoManager.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:5k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ArticlesInfoManager.aspx.cs" Inherits="Articles_ArticlesInfoManager" %>
  2. <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  4. <html>
  5. <head>
  6.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  7. </head>
  8.   <SCRIPT language="JavaScript" src="js/calendar.js"></SCRIPT>
  9. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  10. <form runat="server" id="fm1">
  11.     <br>
  12.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center"
  13.         border="0">
  14.         <tr>
  15.             <th colspan="3" style="height: 25px">
  16.                 用品信息管理</th>
  17.         </tr>
  18.                <tr>
  19.             <td class="usertablerow2" align="left" style="height: 32px;" colspan="2">
  20.                                    <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" PageSize="20" OnRowDataBound="GridView1_RowDataBound" Width="100%">
  21.             <Columns>
  22.           <asp:TemplateField>
  23.         <ItemTemplate>
  24.         <asp:CheckBox ID="CheckBoxItem" runat="server" />
  25.         </ItemTemplate>
  26.         </asp:TemplateField>
  27.                 <asp:BoundField DataField="ID" HeaderText="ID" >
  28.                     <ItemStyle HorizontalAlign="Center" />
  29.                 </asp:BoundField>
  30.                 <asp:BoundField DataField="YPMC" HeaderText="物品名称" >
  31.                     <ItemStyle HorizontalAlign="Center" />
  32.                 </asp:BoundField>
  33.                        <asp:TemplateField HeaderText="类别">
  34.                          <ItemTemplate>
  35.                          <%#YPLB()%>
  36.                          </ItemTemplate>                         
  37.                              <ItemStyle HorizontalAlign="Center" />
  38.                          </asp:TemplateField>
  39.            
  40.                 <asp:BoundField DataField="YPMS" HeaderText="物品描述" >
  41.                     <ItemStyle HorizontalAlign="Center" />
  42.                 </asp:BoundField>
  43.                 <asp:BoundField DataField="JLDW" HeaderText="计量单位" >
  44.                     <ItemStyle HorizontalAlign="Center" />
  45.                 </asp:BoundField>
  46.                 <asp:BoundField DataField="GYS" HeaderText="供应商" >
  47.                     <ItemStyle HorizontalAlign="Center" />
  48.                 </asp:BoundField>
  49.                 <asp:BoundField DataField="JJKC" HeaderText="警戒库存" >
  50.                     <ItemStyle HorizontalAlign="Center" />
  51.                 </asp:BoundField>
  52.                 <asp:BoundField DataField="DQKC" HeaderText="当前库存" >
  53.                     <ItemStyle HorizontalAlign="Center" />
  54.                 </asp:BoundField>
  55.                        <asp:TemplateField HeaderText="操作">
  56.                          <HeaderStyle  Width="300px" />
  57.                          <ItemTemplate>
  58.                          <%#CaoZuo()%>
  59.                          </ItemTemplate>                         
  60.                              <ItemStyle HorizontalAlign="Center" />
  61.                          </asp:TemplateField>
  62.                      </Columns>
  63.                 <RowStyle CssClass="usertablerow2" />
  64.                 <AlternatingRowStyle CssClass="usertablerow1" />
  65.                  </asp:GridView>
  66.             </td>
  67.         </tr>
  68.          <tr>
  69.                       <td align="left" class="usertablerow1" colspan="2">
  70.                       &nbsp;<webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging">
  71.                 </webdiyer:AspNetPager>        <asp:CheckBox ID="CheckBox1" runat="server" Text="全选" OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="True" />
  72.         &nbsp;<asp:Button ID="DelButton1" runat="server" Text="删除并销毁文件" OnClientClick="javascript:return confirm('确定要删除吗?')" OnClick="DelButton1_Click" />  &nbsp;  &nbsp;      <input type="Button"  Class="ptsbutton" value="查询" OnClick="window.location='SearchArticlesInfo.aspx'" /> &nbsp;  &nbsp;  <input type="Button"  Class="ptsbutton" value="打印" OnClick="window.print()" />
  73.    </td>
  74.    
  75.          
  76.         </tr>
  77.    
  78.                       
  79.      
  80.      
  81.     </table>
  82.     <br>
  83.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  84.         border="0">
  85.         <tr>
  86.             <th colspan="2">
  87.                 使用方法</th>
  88.         </tr>
  89.         <tr>
  90.             <td class="usertablerow1" align="right" width="11%">
  91.                 <strong>特殊说明</strong></td>
  92.             <td class="usertablerow1" width="89%">
  93.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  94.         </tr>
  95.     </table>
  96.     </form>
  97.     
  98. </body>
  99. </html>