您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->某公司人事工资管理系统源码>>SalaryManage/ComputeForm.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:某公司人事工资管理系统源码
当前文件:文件类型 StaffSalaryManage/SalaryManage/ComputeForm.aspx打开代码结构图
普通视图
		            
1<%--文件名:ComputeForm.aspx--%> 2<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ComputeForm.aspx.cs" Inherits="SalaryManage_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: teal"> 8 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyPersonnelDBConnectionString %>" 9 SelectCommand="SELECT * FROM [公司部门]"></asp:SqlDataSource> 10 &nbsp;<asp:Label ID="Label1" runat="server" Width="1px"></asp:Label>部门:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1" 11 DataTextField="部门名称" DataValueField="部门名称" Width="80px"> 12 </asp:DropDownList> 13 <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查询" Width="70px" /> 14 <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="打印" Width="70px" /> 15 年份:<asp:DropDownList ID="DropDownList2" runat="server"> 16 <asp:ListItem>2006</asp:ListItem> 17 <asp:ListItem>2007</asp:ListItem> 18 <asp:ListItem>2008</asp:ListItem> 19 <asp:ListItem>2009</asp:ListItem> 20 <asp:ListItem>2010</asp:ListItem> 21 <asp:ListItem>2011</asp:ListItem> 22 <asp:ListItem>2012</asp:ListItem> 23 <asp:ListItem>2013</asp:ListItem> 24 <asp:ListItem>2014</asp:ListItem> 25 <asp:ListItem>2015</asp:ListItem> 26 <asp:ListItem>2016</asp:ListItem> 27 <asp:ListItem>2017</asp:ListItem> 28 <asp:ListItem>2018</asp:ListItem> 29 <asp:ListItem>2019</asp:ListItem> 30 <asp:ListItem>2020</asp:ListItem> 31 </asp:DropDownList> 32 月份:<asp:DropDownList ID="DropDownList3" runat="server"> 33 <asp:ListItem>1</asp:ListItem> 34 <asp:ListItem>2</asp:ListItem> 35 <asp:ListItem>3</asp:ListItem> 36 <asp:ListItem>4</asp:ListItem> 37 <asp:ListItem>5</asp:ListItem> 38 <asp:ListItem>6</asp:ListItem> 39 <asp:ListItem>7</asp:ListItem> 40 <asp:ListItem>8</asp:ListItem> 41 <asp:ListItem>9</asp:ListItem> 42 <asp:ListItem>10</asp:ListItem> 43 <asp:ListItem>11</asp:ListItem> 44 <asp:ListItem>12</asp:ListItem> 45 </asp:DropDownList> 46 <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="发工资" Width="80px" /></td> 47 </tr> 48 <tr> 49 <td style="width: 2232px; height: 100px; background-color: gainsboro"> 50 <asp:Panel ID="Panel1" runat="server" Height="220px" ScrollBars="Auto" Width="553px"> 51 <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:MyPersonnelDBConnectionString %>" 52 SelectCommand="SELECT * FROM [工资核算表] WHERE ([员工编号] IN (Select 员工编号 FROM 在职员工视图 WHERE 所属部门=@所属部门))" 53 UpdateCommand="UPDATE [工资核算表] SET [基本工资] = @基本工资, [津贴] = @津贴, [奖金] = @奖金, [工龄工资] = @工龄工资, [岗位工资] = @岗位工资, [其他应增项] = @其他应增项, [所得税] = @所得税, [养老险] = @养老险, [医疗险] = @医疗险, [住房基金] = @住房基金, [其他应减项] = @其他应减项, [补充说明] = @补充说明 WHERE [自编号] = @自编号"> 54 <DeleteParameters> 55 <asp:Parameter Name="自编号" Type="Int32" /> 56 </DeleteParameters> 57 <UpdateParameters> 58 <asp:Parameter Name="基本工资" Type="Double" /> 59 <asp:Parameter Name="津贴" Type="Double" /> 60 <asp:Parameter Name="奖金" Type="Double" /> 61 <asp:Parameter Name="工龄工资" Type="Double" /> 62 <asp:Parameter Name="岗位工资" Type="Double" /> 63 <asp:Parameter Name="其他应增项" Type="Double" /> 64 <asp:Parameter Name="所得税" Type="Double" /> 65 <asp:Parameter Name="养老险" Type="Double" /> 66 <asp:Parameter Name="医疗险" Type="Double" /> 67 <asp:Parameter Name="住房基金" Type="Double" /> 68 <asp:Parameter Name="其他应减项" Type="Double" /> 69 <asp:Parameter Name="补充说明" Type="String" /> 70 <asp:Parameter Name="自编号" Type="Int32" /> 71 </UpdateParameters> 72 <SelectParameters> 73 <asp:ControlParameter ControlID="DropDownList1" Name="所属部门" PropertyName="SelectedValue" 74 Type="String" /> 75 </SelectParameters> 76 </asp:SqlDataSource> 77 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" 78 BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="自编号" 79 DataSourceID="SqlDataSource2" Font-Names="宋体" Font-Size="Small" GridLines="Vertical" 80 Width="1150px"> 81 <FooterStyle BackColor="#CCCCCC" ForeColor="Black" /> 82 <Columns> 83 <asp:CommandField ButtonType="Button" HeaderText="编辑" ShowEditButton="True" /> 84 <asp:BoundField DataField="自编号" HeaderText="自编号" InsertVisible="False" ReadOnly="True" 85 SortExpression="自编号" Visible="False" /> 86 <asp:BoundField DataField="员工编号" HeaderText="员工编号" ReadOnly="True" SortExpression="员工编号" 87 Visible="False" /> 88 <asp:BoundField DataField="员工姓名" HeaderText="员工姓名" ReadOnly="True" SortExpression="员工姓名" /> 89 <asp:BoundField DataField="基本工资" HeaderText="基本工资" SortExpression="基本工资" /> 90 <asp:BoundField DataField="津贴" HeaderText="津贴" SortExpression="津贴" /> 91 <asp:BoundField DataField="奖金" HeaderText="奖金" SortExpression="奖金" /> 92 <asp:BoundField DataField="工龄工资" HeaderText="工龄工资" SortExpression="工龄工资" /> 93 <asp:BoundField DataField="岗位工资" HeaderText="岗位工资" SortExpression="岗位工资" /> 94 <asp:BoundField DataField="其他应增项" HeaderText="其他应增项" SortExpression="其他应增项" /> 95 <asp:BoundField DataField="所得税" HeaderText="所得税" SortExpression="所得税" /> 96 <asp:BoundField DataField="养老险" HeaderText="养老险" SortExpression="养老险" /> 97 <asp:BoundField DataField="医疗险" HeaderText="医疗险" SortExpression="医疗险" /> 98 <asp:BoundField DataField="住房基金" HeaderText="住房基金" SortExpression="住房基金" /> 99 <asp:BoundField DataField="其他应减项" HeaderText="其他应减项" SortExpression="其他应减项" /> 100 <asp:BoundField DataField="补充说明" HeaderText="补充说明" SortExpression="补充说明" /> 101 </Columns> 102 <RowStyle BackColor="#EEEEEE" ForeColor="Black" /> 103 <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" /> 104 <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" /> 105 <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" /> 106 <AlternatingRowStyle BackColor="Gainsboro" /> 107 </asp:GridView> 108 </asp:Panel> 109 </td> 110 </tr> 111 </table> 112</asp:Content> 113 114
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:某公司人事工资管理系统源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号