Asp.net源码专业站
首页->商务办公->固定资产管理系统源码>>DepreciationManage/ComputeForm.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:固定资产管理系统源码
当前文件:文件类型 DepreciationManage/DepreciationManage/ComputeForm.aspx[8K,2009-6-12 11:38:44]打开代码结构图
普通视图
		            
1<%--文件名:ComputeForm.aspx--%> 2<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ComputeForm.aspx.cs" Inherits="DepreciationManage_ComputeForm" Title="当前位置:折旧管理->计算月度折旧" %> 3<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 4 <table style="width: 556px; height: 161px"> 5 <tr> 6 <td align="left" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 16px; 7 background-color: mediumturquoise"> 8 &nbsp; 折旧年份:<asp:DropDownList ID="DropDownList1" runat="server"> 9 <asp:ListItem>2006</asp:ListItem> 10 <asp:ListItem>2007</asp:ListItem> 11 <asp:ListItem>2008</asp:ListItem> 12 <asp:ListItem>2009</asp:ListItem> 13 <asp:ListItem>2010</asp:ListItem> 14 <asp:ListItem>2011</asp:ListItem> 15 <asp:ListItem>2012</asp:ListItem> 16 <asp:ListItem>2013</asp:ListItem> 17 <asp:ListItem>2014</asp:ListItem> 18 <asp:ListItem>2015</asp:ListItem> 19 <asp:ListItem>2016</asp:ListItem> 20 <asp:ListItem>2017</asp:ListItem> 21 <asp:ListItem>2018</asp:ListItem> 22 <asp:ListItem>2019</asp:ListItem> 23 <asp:ListItem>2020</asp:ListItem> 24 </asp:DropDownList> 25 折旧月份:<asp:DropDownList ID="DropDownList2" runat="server"> 26 <asp:ListItem>1</asp:ListItem> 27 <asp:ListItem>2</asp:ListItem> 28 <asp:ListItem>3</asp:ListItem> 29 <asp:ListItem>4</asp:ListItem> 30 <asp:ListItem>5</asp:ListItem> 31 <asp:ListItem>6</asp:ListItem> 32 <asp:ListItem>7</asp:ListItem> 33 <asp:ListItem>8</asp:ListItem> 34 <asp:ListItem>9</asp:ListItem> 35 <asp:ListItem>10</asp:ListItem> 36 <asp:ListItem>11</asp:ListItem> 37 <asp:ListItem>12</asp:ListItem> 38 </asp:DropDownList>&nbsp;<asp:Button ID="Button3" runat="server" Text="查询" Width="64px" /> 39 <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" 40 Text="导入折旧数据" Width="106px" /> 41 <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="转入累计折旧" Width="106px" /> 42 </td> 43 </tr> 44 <tr> 45 <td style="width: 2232px; height: 100px; background-color: gainsboro"> 46 <asp:Panel ID="Panel1" runat="server" Height="320px" ScrollBars="Auto" Width="553px"> 47 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyAssetsDBConnectionString %>" 48 DeleteCommand="DELETE FROM [折旧核算表] WHERE [自编号] = @自编号" 49 SelectCommand="SELECT [资产编号], [资产名称], [月度折旧额], [补充说明], [自编号], [使用部门], [所属类别], [资产原值], [累计折旧], [折旧方法], [折旧月数], [已提月数], [预计净残值], [折旧年份], [折旧月份] FROM [折旧核算表] WHERE (([折旧年份] = @折旧年份) AND ([折旧月份] = @折旧月份))" 50 UpdateCommand="UPDATE [折旧核算表] SET [月度折旧额] = @月度折旧额, [补充说明] = @补充说明 WHERE [自编号] = @自编号"> 51 <DeleteParameters> 52 <asp:Parameter Name="自编号" Type="Int32" /> 53 </DeleteParameters> 54 <UpdateParameters> 55 <asp:Parameter Name="月度折旧额" Type="Double" /> 56 <asp:Parameter Name="补充说明" Type="String" /> 57 <asp:Parameter Name="自编号" Type="Int32" /> 58 </UpdateParameters> 59 <SelectParameters> 60 <asp:ControlParameter ControlID="DropDownList1" Name="折旧年份" PropertyName="SelectedValue" 61 Type="Int32" /> 62 <asp:ControlParameter ControlID="DropDownList2" Name="折旧月份" PropertyName="SelectedValue" 63 Type="Int32" /> 64 </SelectParameters> 65 </asp:SqlDataSource> 66 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" 67 BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="自编号" 68 DataSourceID="SqlDataSource1" Font-Names="宋体" Font-Size="Small" GridLines="Vertical" 69 OnRowCreated="GridView1_RowCreated" Width="1200px" AllowSorting="True"> 70 <FooterStyle BackColor="#CCCCCC" ForeColor="Black" /> 71 <Columns> 72 <asp:CommandField ButtonType="Button" HeaderText="编辑" ShowEditButton="True" /> 73 <asp:TemplateField HeaderText="删除" ShowHeader="False"> 74 <ItemTemplate> 75 <asp:Button ID="Button1" runat="server" CausesValidation="False" CommandName="Delete" 76 Text="删除" /> 77 </ItemTemplate> 78 </asp:TemplateField> 79 <asp:BoundField DataField="资产编号" HeaderText="资产编号" SortExpression="资产编号" ReadOnly="True" /> 80 <asp:BoundField DataField="资产名称" HeaderText="资产名称" SortExpression="资产名称" ReadOnly="True" /> 81 <asp:BoundField DataField="月度折旧额" HeaderText="月度折旧额" SortExpression="月度折旧额" /> 82 <asp:BoundField DataField="补充说明" HeaderText="补充说明" SortExpression="补充说明" /> 83 <asp:BoundField DataField="自编号" HeaderText="自编号" InsertVisible="False" ReadOnly="True" 84 SortExpression="自编号" /> 85 <asp:BoundField DataField="使用部门" HeaderText="使用部门" SortExpression="使用部门" ReadOnly="True" /> 86 <asp:BoundField DataField="所属类别" HeaderText="所属类别" SortExpression="所属类别" ReadOnly="True" /> 87 <asp:BoundField DataField="资产原值" HeaderText="资产原值" SortExpression="资产原值" ReadOnly="True" /> 88 <asp:BoundField DataField="累计折旧" HeaderText="累计折旧" SortExpression="累计折旧" ReadOnly="True" /> 89 <asp:BoundField DataField="折旧方法" HeaderText="折旧方法" SortExpression="折旧方法" ReadOnly="True" /> 90 <asp:BoundField DataField="折旧月数" HeaderText="折旧月数" SortExpression="折旧月数" ReadOnly="True" /> 91 <asp:BoundField DataField="已提月数" HeaderText="已提月数" SortExpression="已提月数" ReadOnly="True" /> 92 <asp:BoundField DataField="预计净残值" HeaderText="预计净残值" SortExpression="预计净残值" ReadOnly="True" /> 93 <asp:BoundField DataField="折旧年份" HeaderText="折旧年份" SortExpression="折旧年份" ReadOnly="True" /> 94 <asp:BoundField DataField="折旧月份" HeaderText="折旧月份" SortExpression="折旧月份" ReadOnly="True" /> 95 </Columns> 96 <RowStyle BackColor="#EEEEEE" ForeColor="Black" /> 97 <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" /> 98 <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" /> 99 <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" /> 100 <AlternatingRowStyle BackColor="Gainsboro" /> 101 </asp:GridView> 102 </asp:Panel> 103 </td> 104 </tr> 105 </table> 106</asp:Content> 107 108
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:固定资产管理系统源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146