📄 reportcardform.aspx
字号:
<%--文件名:ReportCardForm.aspx--%>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ReportCardForm.aspx.cs" Inherits="ReportManage_ReportCardForm" 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">
所属类别:
<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" Text="查询固定资产信息" Width="180px" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="打印固定资产信息" Width="180px" />
<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:Panel ID="Panel1" runat="server" BackColor="Olive" Height="60px" ScrollBars="Auto"
Width="555px">
<asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#999999"
BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="2000px">
<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>
<tr>
<td align="center" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 120px;
background-color: mediumturquoise">
固定资产附属设置<asp:Panel ID="Panel2" runat="server" BackColor="Olive" Height="110px" ScrollBars="Auto"
Width="555px">
<asp:GridView ID="GridView2" runat="server" BackColor="White" BorderColor="#999999"
BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="1200px">
<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="Gainsboro" />
</asp:GridView>
</asp:Panel>
</td>
</tr>
<tr>
<td align="center" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 120px;
background-color: mediumturquoise">
固定资产修理记录<asp:Panel ID="Panel3" runat="server" BackColor="Olive" Height="110px" ScrollBars="Auto"
Width="555px">
<asp:GridView ID="GridView3" runat="server" BackColor="White" BorderColor="#999999"
BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="1500px">
<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="Gainsboro" />
</asp:GridView>
</asp:Panel>
</td>
</tr>
<tr>
<td align="center" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 120px;
background-color: mediumturquoise">
固定资产租借记录<asp:Panel ID="Panel4" runat="server" BackColor="Olive" Height="110px" ScrollBars="Auto"
Width="555px">
<asp:GridView ID="GridView4" runat="server" BackColor="White" BorderColor="#999999"
BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="1200px">
<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="Gainsboro" />
</asp:GridView>
</asp:Panel>
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -