📄 quaryresult.aspx
字号:
<%@ Page language="c#" Codebehind="QuaryResult.aspx.cs" AutoEventWireup="false" Inherits="RoomMngSystem.Manager.QuaryResult" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>查询结果</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">
<script language="javascript">
function printsetup()
{
//打印页面设置
Wb_Print.execwb(8,1);
}
function printit()
{
//打印页面
if (confirm('确定打印吗?') )
{
Wb_Print.execwb(6,1);
}
}
function hide_tab() //隐藏form2
{
form2.style.display="none";
}
function show_tab() //显示form2
{
form2.style.display="inline";
}
function printpreview()
{
//打印页面预览
Wb_Print.execwb(7,1);
}
</script>
</HEAD>
<body onafterprint="show_tab()" onbeforeprint="hide_tab()" MS_POSITIONING="GridLayout">
<OBJECT id="Wb_Print" height="0" width="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"
name="Wb_Print" VIEWASTEXT>
</OBJECT>
<form id="form2"> <!--在form2中放置3个控制打印的按钮--><INPUT language="javascript" class="btn_04" style="Z-INDEX: 102; LEFT: 16px; WIDTH: 80px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
onclick="printit()" type="button" value="打 印" name="print"> <INPUT style="Z-INDEX: 103; LEFT: 96px; WIDTH: 80px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
onclick="javascript:printsetup();" type="button" value="打印设置" name="set"> <INPUT style="Z-INDEX: 104; LEFT: 176px; WIDTH: 80px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
onclick="javascript:printpreview();" type="button" value="打印预览" name="prewiew">
<INPUT id="Button1" style="Z-INDEX: 105; LEFT: 256px; WIDTH: 80px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
type="button" value="另存为Excel" name="saveas" runat="server">
</form>
<form id="Form1" method="post" runat="server">
<TABLE id="Tb_QuaryResult" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px"
cellSpacing="0" cellPadding="0" border="0">
<tr>
<td style="HEIGHT: 58px" vAlign="middle" align="center"><FONT style="FONT-WEIGHT: bold; FONT-SIZE: 15pt" face="宋体">学校共用房调查情况汇总表</FONT></td>
</tr>
<TR>
<TD style="FONT-SIZE: 0pt">
<asp:datagrid id="DG_RoomInfo" runat="server" ForeColor="Gray" Font-Names="幼圆" BorderStyle="Solid"
BorderWidth="1px" BorderColor="#E0E0E0" CellPadding="0" HorizontalAlign="Center" AllowSorting="True" PageSize="15"
Width="1024px">
<SelectedItemStyle Font-Size="10pt" Font-Bold="True" HorizontalAlign="Center" Height="18px" VerticalAlign="Middle"></SelectedItemStyle>
<EditItemStyle Font-Size="10pt" Height="18px" BackColor="#FFC080"></EditItemStyle>
<AlternatingItemStyle Font-Size="10pt" Wrap="False" HorizontalAlign="Center" Height="18px" BorderWidth="1px"
ForeColor="DimGray" BorderStyle="Solid" VerticalAlign="Middle" BackColor="#F3F3F3"></AlternatingItemStyle>
<ItemStyle Font-Size="10pt" HorizontalAlign="Center" Height="18px" VerticalAlign="Middle"></ItemStyle>
<HeaderStyle Font-Size="10pt" Font-Bold="True" HorizontalAlign="Center" Height="25px" BorderWidth="2px"
ForeColor="White" BorderStyle="Solid" VerticalAlign="Middle" BackColor="#62BFD0" Font-Underline=False></HeaderStyle>
<FooterStyle Font-Size="Smaller" Font-Bold="True" HorizontalAlign="Center" Height="20px" BorderWidth="2px"
BorderStyle="Solid" VerticalAlign="Middle" BackColor="#FF8080"></FooterStyle>
<PagerStyle VerticalAlign="Middle" NextPageText="&gt;下一页" Height="10px" BorderWidth="2px"
Font-Size="8pt" Font-Bold="True" PrevPageText="&lt;上一页" BorderStyle="Solid" HorizontalAlign="Left"
Position="TopAndBottom" BackColor="#E0E0E0" Mode="NumericPages"></PagerStyle>
</asp:datagrid></TD>
</TR>
<TR>
<td><FONT face="宋体">
<asp:Image id="Image1" runat="server" Width="96px" Height="40px" ImageUrl="\RoomMngSystem\image\MUYUmark.gif"></asp:Image></FONT></td>
</TR>
</TABLE>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -