• 大小: 1.65MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-12
  • 语言: C#
  • 标签: C#  SQL  Server  

资源简介

随着我国市场经济的快速发展,人事工资管理系统在企业的日常管理中发挥着越来越重要的作用。人事工资管理系统可以进行档案管理、奖罚管理和工资管理等,方便处理企业内部员工的相关工资信息。另外,为了更方便的查看员工的工资信息,还可以通过水晶报表对工资信息进行打印。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using PMS.PMSClass;
namespace PMS
{
    public partial class frmAddDep : Form
    {
        public frmAddDep()
        {
            InitializeComponent();
        }
        DBOperate operate = new DBOperate();
        private void button2_Click(object sender EventArgs e)
        {
            this.Close();
        }

        private void button1_Click(object sender EventArgs e)
        {
            if (txtDepName.Text.Trim() == ““)
            {
                MessageBox.Show(“请输入部门名称“ “提示“ MessageBoxButtons.OK MessageBoxIcon.Information);
                return;
            }
            else
            {
                string str=“select count(*) from tb_department where DepName=‘“+txtDepName.Text.Trim()+“‘“;
                int i=operate.HumanNum(str);
                if (i > 0)
                {
                    MessageBox.Show(“该部门已经存在“ “提示“ MessageBoxButtons.OK MessageBoxIcon.Information);
                    return;
                }
                else
                {
                    string Addsql = “insert into tb_department(DepName) values(‘“ + txtDepName.Text.Trim() + “‘)“;
                    if (operate.OperateData(Addsql) > 0)
                    {
                        MessageBox.Show(“添加成功“ “提示“ MessageBoxButtons.OK MessageBoxIcon.Information);
                    }
                }
            }
        }

        private void frmAddDep_Load(object sender EventArgs e)
        {

        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    1638400  2008-05-21 16:18  PMS\Database\db_PMS_Data.MDF

     文件    1048576  2008-05-21 16:18  PMS\Database\db_PMS_Log.LDF

     文件    1589760  2008-04-21 11:35  PMS\PMS\Backup\PMS.bak

     文件     532480  2008-04-22 08:41  PMS\PMS\bin\Debug\PMS.exe

     文件     267776  2008-04-22 08:41  PMS\PMS\bin\Debug\PMS.pdb

     文件       5632  2005-11-11 22:25  PMS\PMS\bin\Debug\PMS.vshost.exe

     文件       4818  2008-04-21 16:28  PMS\PMS\CrystalReport\UserCheck.cs

     文件      16384  2008-04-09 11:44  PMS\PMS\CrystalReport\UserCheck.rpt

     文件       4811  2008-04-21 16:28  PMS\PMS\CrystalReport\UserInfo.cs

     文件      16384  2008-04-15 08:56  PMS\PMS\CrystalReport\UserInfo.rpt

     文件       4804  2008-04-21 16:28  PMS\PMS\CrystalReport\UserPay.cs

     文件      16384  2008-04-11 15:54  PMS\PMS\CrystalReport\UserPay.rpt

     文件       4818  2008-04-21 16:28  PMS\PMS\CrystalReport\UserPrize.cs

     文件      16384  2008-04-21 14:25  PMS\PMS\CrystalReport\UserPrize.rpt

     文件       4839  2008-04-21 16:28  PMS\PMS\CrystalReport\UserRedeploy.cs

     文件      16384  2008-04-09 13:14  PMS\PMS\CrystalReport\UserRedeploy.rpt

     文件       1709  2008-04-18 13:48  PMS\PMS\frmAddDep.cs

     文件       4253  2008-04-18 13:48  PMS\PMS\frmAddDep.Designer.cs

     文件      10406  2008-04-18 13:48  PMS\PMS\frmAddDep.resx

     文件       5486  2008-04-18 13:50  PMS\PMS\frmAddEmployee.cs

     文件      20429  2008-04-18 13:50  PMS\PMS\frmAddEmployee.Designer.cs

     文件      46710  2008-04-18 13:50  PMS\PMS\frmAddEmployee.resx

     文件       3659  2008-04-18 13:51  PMS\PMS\frmAddUserCheck.cs

     文件      13147  2008-04-18 13:51  PMS\PMS\frmAddUserCheck.Designer.cs

     文件      12526  2008-04-18 13:51  PMS\PMS\frmAddUserCheck.resx

     文件       3622  2008-04-18 16:48  PMS\PMS\frmAddUserRedeploy.cs

     文件      15384  2008-04-18 15:28  PMS\PMS\frmAddUserRedeploy.Designer.cs

     文件      12526  2008-04-18 15:28  PMS\PMS\frmAddUserRedeploy.resx

     文件       1102  2008-04-18 13:51  PMS\PMS\frmChangeDep.cs

     文件       4275  2008-04-18 13:51  PMS\PMS\frmChangeDep.Designer.cs

............此处省略177个文件信息

评论

共有 条评论