📄 query.aspx
字号:
<%@ Page CodeBehind="query.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="junjun.query" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<title>设备查询页面</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<style type="text/css">.style1 {
FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #ffffff
}
.style2 {
COLOR: #ffffff
}
</style>
</HEAD>
<body leftMargin="0" topMargin="0">
<form runat="server">
<table style="POSITION: absolute" cellSpacing="0" cellPadding="0" width="98.5%" align="left"
border="0">
<tr bgColor="#5a8ede">
<td bgColor="#5a8ede" colSpan="6" height="10">
<div align="center"><span class="style1">设备查询</span></div>
</td>
</tr>
<tr>
<td colSpan="6" height="3"></td>
</tr>
<tr>
<td colSpan="6"><asp:datagrid id="mydatagrid" runat="server" OnPageindexChanged="ChangePage" AutoGenerateColumns="False"
Font-Size="8pt" BorderColor="#5A8EDE" PagerStyle-Font-Name="times new roman" PagerStyle-ForeColor="#9999CC"
PagerStyle-Mode="NumericPages" AllowPaging="True" width="100%">
<Columns>
<asp:BoundColumn DataField="设备名称" HeaderText="设备名称">
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Width="19%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="生产厂家" HeaderText="生产厂家">
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Width="19%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="设备编号" HeaderText="设备编号">
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Width="19%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="单价" HeaderText="单价" DataFormatString="{0:c}">
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Width="19%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="存放地点" HeaderText="存放地点">
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Width="19%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:HyperLinkColumn Text="<img src='../images/filenew.gif' border='0'>" Target="_blank" DataNavigateUrlField="card_ID"
DataNavigateUrlFormatString="query_result.aspx?card_id={0}" HeaderText="详细">
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Width="5%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:HyperLinkColumn>
</Columns>
<PagerStyle Font-Names="times new roman" ForeColor="#9999CC" Mode="NumericPages"></PagerStyle>
</asp:datagrid></td>
</tr>
<tr>
<td colSpan="6" height="8"></td>
</tr>
<tr bgColor="#5a8ede">
<td align="center" width="10%" height="10"><span class="style2"><font size="2">查询条件</font></span></td>
<td align="center" width="15%"><asp:dropdownlist id="conditiondropdownlist" runat="server"></asp:dropdownlist></td>
<td align="center" width="15%"><span class="style2"><font size="2">查询范围</font></span></td>
<td align="center" width="20%"><asp:textbox id="rangetextbox" runat="server"></asp:textbox></td>
<td align="center" width="10%"><asp:button id="query_Button" onclick="querybuttton_click" runat="server" Text="查询"></asp:button></td>
<td width="30%"></td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -