📄 commlistselect.aspx
字号:
<%@ Page language="c#" Codebehind="commListselect.aspx.cs" AutoEventWireup="false" Inherits="comm.commListselect" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>commListselect</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="css/style.css" type="text/css" rel="stylesheet">
<LINK href="css/title.css" type="text/css" rel="stylesheet">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<asp:panel id="Panel_type" Runat="server">
<TABLE class="maintext" id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
<TR>
<TD>领用类型</TD>
<TD>
<asp:DropDownList id="ddl_iscomm" runat="server">
<asp:ListItem Value="1" Selected="True">个人领用</asp:ListItem>
<asp:ListItem Value="0">部门领用</asp:ListItem>
</asp:DropDownList></TD>
<TD>物料类型</TD>
<TD>
<asp:DropDownList id="ddl_restype" runat="server"></asp:DropDownList></TD>
<TD>
<asp:ImageButton id="ibtn_search" runat="server" ImageUrl="images/button/search_1.gif"></asp:ImageButton></TD>
</TR>
</TABLE>
</asp:panel><asp:panel id="Panel_view" runat="server">
<TABLE class="maintext" id="Table_view" cellSpacing="1" cellPadding="1" width="100%" border="0">
<TR>
<TD>
<TABLE class="maintext" id="Table2" align="right">
<TR>
<TD>
<asp:ImageButton id="imgbtn_first" runat="server" ImageUrl="images/pagehome.gif"></asp:ImageButton></TD>
<TD>
<asp:ImageButton id="imgbtn_pre" runat="server" ImageUrl="images/pageup.gif"></asp:ImageButton></TD>
<TD>
<asp:ImageButton id="imgbtn_next" runat="server" ImageUrl="images/pagedown.gif"></asp:ImageButton></TD>
<TD>
<asp:ImageButton id="imgbtn_end" runat="server" ImageUrl="images/pageend.gif"></asp:ImageButton></TD>
<TD width="200">第
<asp:Label id="lbl_currpage" runat="server">1</asp:Label>页/共
<asp:Label id="lbl_pagecnt" runat="server">1</asp:Label>页 转到
<asp:TextBox id="txt_page" runat="server" Width="27px"></asp:TextBox>
<asp:ImageButton id="imgbtn_go" runat="server" ImageUrl="images/go.gif"></asp:ImageButton></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>电子目录
<asp:Label id="lbl_sql" runat="server" Visible="False">Label</asp:Label></TD>
</TR>
<TR>
<TD>
<asp:datagrid id="dg" runat="server" Font-Size="X-Small" cellspacing="1" width="100%" BorderColor="#466599"
AutoGenerateColumns="False" Borderwidth="0px" BackColor="#486D95" AllowSorting="True" CellPadding="2"
AllowPaging="True">
<SelectedItemStyle Font-Bold="True"></SelectedItemStyle>
<AlternatingItemStyle Font-Size="8pt" BackColor="#CBDEF5"></AlternatingItemStyle>
<ItemStyle Font-Size="8pt" BackColor="#F1F6FC"></ItemStyle>
<HeaderStyle Font-Size="8pt" Font-Bold="True" HorizontalAlign="Center" BackColor="#89B6E3"></HeaderStyle>
<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="res_name" HeaderText="物品名称"></asp:BoundColumn>
<asp:BoundColumn DataField="res_code" HeaderText="物料编码"></asp:BoundColumn>
<asp:BoundColumn DataField="res_unit" HeaderText="单位"></asp:BoundColumn>
<asp:BoundColumn DataField="res_size" HeaderText="型号"></asp:BoundColumn>
<asp:BoundColumn DataField="descript" HeaderText="描述"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="领用数量">
<ItemTemplate>
<asp:TextBox id="TextBox1" runat="server" Width="52px"></asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="price" HeaderText="单价"></asp:BoundColumn>
<asp:ButtonColumn Text="领用" CommandName="Select"></asp:ButtonColumn>
</Columns>
<PagerStyle Visible="False"></PagerStyle>
</asp:datagrid></TD>
</TR>
<TR>
<TD>选择领用物品</TD>
</TR>
<TR>
<TD>
<asp:datagrid id="dg_apply" runat="server" Font-Size="X-Small" cellspacing="1" width="100%" BorderColor="#466599"
AutoGenerateColumns="False" Borderwidth="0px" BackColor="#486D95" AllowSorting="True" CellPadding="2"
AllowPaging="True">
<SelectedItemStyle Font-Bold="True"></SelectedItemStyle>
<AlternatingItemStyle Font-Size="8pt" BackColor="#CBDEF5"></AlternatingItemStyle>
<ItemStyle Font-Size="8pt" BackColor="#F1F6FC"></ItemStyle>
<HeaderStyle Font-Size="8pt" Font-Bold="True" HorizontalAlign="Center" BackColor="#89B6E3"></HeaderStyle>
<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="res_name" HeaderText="物品名称"></asp:BoundColumn>
<asp:BoundColumn DataField="res_code" HeaderText="物料编码"></asp:BoundColumn>
<asp:BoundColumn DataField="res_unit" HeaderText="单位"></asp:BoundColumn>
<asp:BoundColumn DataField="res_size" HeaderText="型号"></asp:BoundColumn>
<asp:BoundColumn DataField="res_cnt" HeaderText="领用数量"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="res_sum" HeaderText="合计金额"></asp:BoundColumn>
<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
</Columns>
<PagerStyle Visible="False"></PagerStyle>
</asp:datagrid></TD>
</TR>
<TR>
<TD align="center">
<asp:ImageButton id="ibtn_handin" runat="server" ImageUrl="images/button/yes_1.gif"></asp:ImageButton></TD>
</TR>
</TABLE>
</asp:panel></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -