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

📄 personnelform.aspx

📁 工资管理系统用C#和sql开发的
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
                            <asp:BoundField DataField="银行账号" HeaderText="银行账号" SortExpression="银行账号" />
                            <asp:BoundField DataField="养老保险账号" HeaderText="养老保险账号" SortExpression="养老保险账号" />
                            <asp:BoundField DataField="医疗保险账号" HeaderText="医疗保险账号" SortExpression="医疗保险账号" />
                            <asp:BoundField DataField="住房基金账号" HeaderText="住房基金账号" SortExpression="住房基金账号" />
                            <asp:BoundField DataField="联系电话" HeaderText="联系电话" SortExpression="联系电话" />
                            <asp:BoundField DataField="手机号码" HeaderText="手机号码" SortExpression="手机号码" />
                            <asp:BoundField DataField="电子信箱" HeaderText="电子信箱" SortExpression="电子信箱" />
                            <asp:BoundField DataField="家庭住址" HeaderText="家庭住址" SortExpression="家庭住址" />
                            <asp:BoundField DataField="邮政编码" HeaderText="邮政编码" SortExpression="邮政编码" />
                            <asp:BoundField DataField="补充说明" HeaderText="补充说明" SortExpression="补充说明" />
                        </Columns>
                        <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" HorizontalAlign="Center" />
                        <AlternatingRowStyle BackColor="Gainsboro" />
                    </asp:GridView>
                </asp:Panel>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyPersonnelDBConnectionString %>"
                    DeleteCommand="DELETE FROM [在职员工视图] WHERE [自编号] = @自编号" InsertCommand="INSERT INTO [基本档案] ([员工编号], [所属部门], [姓名], [性别], [民族], [籍贯], [出生日期], [身份证号码], [政治面貌], [婚姻状况], [文化程度], [职称], [职务], [专业], [毕业院校], [进入公司时间], [合同服务年限], [基本工资], [银行账号], [养老保险账号], [医疗保险账号], [住房基金账号], [联系电话], [手机号码], [电子信箱], [家庭住址], [邮政编码], [补充说明]) VALUES (@员工编号, @所属部门, @姓名, @性别, @民族, @籍贯, @出生日期, @身份证号码, @政治面貌, @婚姻状况, @文化程度, @职称, @职务, @专业, @毕业院校, @进入公司时间, @合同服务年限, @基本工资, @银行账号, @养老保险账号, @医疗保险账号, @住房基金账号, @联系电话, @手机号码, @电子信箱, @家庭住址, @邮政编码, @补充说明)"
                    ProviderName="<%$ ConnectionStrings:MyPersonnelDBConnectionString.ProviderName %>"
                    SelectCommand="SELECT [自编号], [员工编号], [所属部门], [姓名], [性别], [民族], [籍贯], [出生日期], [身份证号码], [政治面貌], [婚姻状况], [文化程度], [职称], [职务], [专业], [毕业院校], [进入公司时间], [合同服务年限], [基本工资], [银行账号], [养老保险账号], [医疗保险账号], [住房基金账号], [联系电话], [手机号码], [电子信箱], [家庭住址], [邮政编码], [补充说明] FROM [在职员工视图] WHERE ([姓名] LIKE '%' + @姓名 + '%')"
                    UpdateCommand="UPDATE [在职员工视图] SET [员工编号] = @员工编号, [所属部门] = @所属部门, [姓名] = @姓名, [性别] = @性别, [民族] = @民族, [籍贯] = @籍贯, [出生日期] = @出生日期, [身份证号码] = @身份证号码, [政治面貌] = @政治面貌, [婚姻状况] = @婚姻状况, [文化程度] = @文化程度, [职称] = @职称, [职务] = @职务, [专业] = @专业, [毕业院校] = @毕业院校, [进入公司时间] = @进入公司时间, [合同服务年限] = @合同服务年限, [基本工资] = @基本工资, [银行账号] = @银行账号, [养老保险账号] = @养老保险账号, [医疗保险账号] = @医疗保险账号, [住房基金账号] = @住房基金账号, [联系电话] = @联系电话, [手机号码] = @手机号码, [电子信箱] = @电子信箱, [家庭住址] = @家庭住址, [邮政编码] = @邮政编码, [补充说明] = @补充说明 WHERE [自编号] = @自编号">
                    <DeleteParameters>
                        <asp:Parameter Name="自编号" Type="Int32" />
                    </DeleteParameters>
                    <UpdateParameters>
                        <asp:ControlParameter ControlID="TextBox2" Name="员工编号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList1" Name="所属部门" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="TextBox3" Name="姓名" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList2" Name="性别" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="TextBox4" Name="民族" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox5" Name="籍贯" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox6" Name="出生日期" PropertyName="Text" Type="DateTime" />
                        <asp:ControlParameter ControlID="TextBox7" Name="身份证号码" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox8" Name="政治面貌" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList3" Name="婚姻状况" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="DropDownList4" Name="文化程度" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="DropDownList5" Name="职称" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="TextBox9" Name="职务" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox10" Name="专业" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox11" Name="毕业院校" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox12" Name="进入公司时间" PropertyName="Text" Type="DateTime" />
                        <asp:ControlParameter ControlID="DropDownList6" Name="合同服务年限" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="TextBox13" Name="基本工资" PropertyName="Text" Type="Double" />
                        <asp:ControlParameter ControlID="TextBox14" Name="银行账号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox15" Name="养老保险账号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox16" Name="医疗保险账号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox17" Name="住房基金账号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox18" Name="联系电话" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox19" Name="手机号码" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox20" Name="电子信箱" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox21" Name="家庭住址" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox22" Name="邮政编码" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox23" Name="补充说明" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox24" DefaultValue="" Name="自编号" PropertyName="Text"
                            Type="Int32" />
                    </UpdateParameters>
                    <SelectParameters>
                        <asp:ControlParameter ControlID="TextBox1" Name="姓名" PropertyName="Text" Type="String" />
                    </SelectParameters>
                    <InsertParameters>
                        <asp:ControlParameter ControlID="TextBox2" Name="员工编号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList1" Name="所属部门" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="TextBox3" Name="姓名" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList2" Name="性别" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="TextBox4" Name="民族" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox5" Name="籍贯" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox6" Name="出生日期" PropertyName="Text" Type="DateTime" />
                        <asp:ControlParameter ControlID="TextBox7" Name="身份证号码" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox8" Name="政治面貌" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="DropDownList3" Name="婚姻状况" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="DropDownList4" Name="文化程度" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="DropDownList5" Name="职称" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="TextBox9" Name="职务" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox10" Name="专业" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox11" Name="毕业院校" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox12" Name="进入公司时间" PropertyName="Text" Type="DateTime" />
                        <asp:ControlParameter ControlID="DropDownList4" Name="合同服务年限" PropertyName="SelectedValue"
                            Type="String" />
                        <asp:ControlParameter ControlID="TextBox13" Name="基本工资" PropertyName="Text" Type="Double" />
                        <asp:ControlParameter ControlID="TextBox14" Name="银行账号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox15" Name="养老保险账号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox16" Name="医疗保险账号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox17" Name="住房基金账号" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox18" Name="联系电话" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox19" Name="手机号码" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox20" Name="电子信箱" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox21" Name="家庭住址" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox22" Name="邮政编码" PropertyName="Text" Type="String" />
                        <asp:ControlParameter ControlID="TextBox23" Name="补充说明" PropertyName="Text" Type="String" />
                    </InsertParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
    </table>
</asp:Content>

⌨️ 快捷键说明

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