<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ExpenseManage.aspx.cs" Inherits="LeaseManage_LeaseManage" %>

<!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">
    <title>无标题页</title>
     <style type="text/css" media="print">
    .divNotPrint
    {
		display:none;
    }
    </style>
    <script type="text/javascript" src="/js/print.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <object style="display:none;" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" id="webPrintObject"></object>
	<div class="divNotPrint" style="margin:5px; border:solid 2px gray; padding:3px;">
	<input type="button" style="width: 146px; height: 31px" value="直接打印" onclick="printPage();"\>&nbsp;
	<input type="button" style="width: 146px; height: 31px" value="打印预览" onclick="printPreview();"\>
	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
	<input type="button" value="清空页码" onclick="pagesetup_null();"\>
	<input type="button" value="恢复页吗" onclick="pagesetup_default();"\>
	<input type="button" value="打印设置" onclick="printSetup();"\>
        <span style="color: #999966">支出统计</span>：<asp:Label ID="Label1" runat="server" Text="0" Width="54px" ForeColor="Red"></asp:Label><asp:Button ID="Button1" runat="server" Text="添加支出信息" OnClick="Button1_Click" />
		 <br />
		 按天查询：<asp:TextBox ID="Day" runat="server"></asp:TextBox><span style="color: #ff3366">2009-4-6<br />
		 </span>
		 按月查询：<asp:TextBox ID="Month"
			 runat="server"></asp:TextBox><span style="color: #ff0066">2009-4-1</span><asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="查询" Width="55px" /></div>
			 <div style="text-align:center; font-size:16px; font-weight:bold;">
				 兰 炼
				 支 出
        日 清 单
        <div style="border-bottom:solid 1px gray; margin:5px 0px;">
	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;操作员:
	<%=Convert.ToString(Session["username"])%>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;制表日期: <%=DateTime.Now %>
</div>
     <div align="center">
    <table style="width: 750px">
    <tr>
     </tr>
    </table>
    <asp:gridview ID="Gridview1" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" Font-Size="12px" OnPageIndexChanging="Gridview1_PageIndexChanging" PageSize="15" Width="854px" OnRowDeleting="Gridview1_RowDeleting" Height="1px" CellSpacing="2">
		<PagerSettings FirstPageText="首页" LastPageText="尾页"
			NextPageText="下一页" PreviousPageText="上一页" />
		<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
		<Columns>
			<asp:BoundField DataField="Id" HeaderText="编号"/>
			<asp:BoundField DataField="name" HeaderText="支出人" />
			<asp:BoundField DataField="price" HeaderText="支出金额" />
			<asp:BoundField DataField="ues" HeaderText="用途" />
			<asp:BoundField DataField="insert_date_time" HeaderText="支出时间" />
			<asp:BoundField DataField="mome" HeaderText="备注" />
			<asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
		</Columns>
		<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
		<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
		<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
		<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
	</asp:gridview>
    </div>
    </form>
</body>
</html>
