⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reportdepreciationform.aspx

📁 某纸业公司的固定资产管理系统
💻 ASPX
字号:
<%--文件名:ReportDepreciationForm.aspx--%>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ReportDepreciationForm.aspx.cs" Inherits="ReportManage_ReportDepreciationForm" Title="当前位置:报表管理->固定资产折旧"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 556px; height: 161px">
        <tr>
            <td align="center" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 16px;
                background-color: lightskyblue">
                &nbsp;所属类别:
                <asp:DropDownList ID="DropDownList1" runat="server" Width="82px">
                    <asp:ListItem>生产设备</asp:ListItem>
                    <asp:ListItem>运输设备</asp:ListItem>
                    <asp:ListItem>管理用具</asp:ListItem>
                    <asp:ListItem>房屋及建筑物</asp:ListItem>
                </asp:DropDownList>
                使用部门:
                <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1"
                    DataTextField="部门名称" DataValueField="部门名称" Width="82px">
                </asp:DropDownList>
                资产名称:<asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="SqlDataSource2"
                    DataTextField="资产名称" DataValueField="资产编号" Width="164px">
                </asp:DropDownList>
                <br />
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查询固定资产折旧信息"
                    Width="180px" />
                <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="打印固定资产折旧信息"
                    Width="180px" />
                &nbsp;&nbsp;
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyAssetsDBConnectionString %>"
                    SelectCommand="SELECT DISTINCT * FROM [公司部门]"></asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:MyAssetsDBConnectionString %>"
                    SelectCommand="SELECT * FROM [可用固定资产视图] WHERE (([所属类别] = @所属类别) AND ([使用部门] = @使用部门))">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="DropDownList1" Name="所属类别" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="DropDownList2" Name="使用部门" PropertyName="SelectedValue"
                            Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td align="center" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 60px;
                background-color: mediumturquoise">
                <asp:Label ID="Label1" runat="server" Text="固定资产累计折旧信息"></asp:Label>
                <asp:Panel ID="Panel1" runat="server" BackColor="Olive" Height="260px" ScrollBars="Auto"
                    Width="555px">
                    <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#999999"
                        BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="558px">
                        <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                        <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                        <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="#DCDCDC" />
                    </asp:GridView>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -