• 大小: 1.42MB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2023-08-15
  • 语言: C#
  • 标签: C#winform  

资源简介

随着经济的发展,企业正向着大型化、规模化发展,而对于大中型企业,员工、职称等跟工资管理有关的信息随之急剧增加。在这种情况下单靠人工来处理员工的工资不但显得力不从心,而且极容易出错。如何设计一个小型企业工资的数据库管理系统,由计算机代替人工执行一系列诸如增加新员工,删除旧员工,工资查询,统计等操作。这样就使办公人员可以轻松快捷地完成工资管理的任务。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Regularexpressions;

namespace BLL
{
    public class baseSet
    {
        /// 
        /// 年度
        /// 

        /// 
        public static List YEARS()
        {
            List list = new List();
            for (int i = 2000; i <= DateTime.Now.Year + 1; i++)
            {
                SYear obj = new SYear();
                obj.YearNo = i;
                obj.YearName = String.Format(“{0}年“ i.ToString());
                list.Add(obj);
            }
            return list;
        }

        /// 
        /// 月份
        /// 

        /// 
        public static List MONTHS()
        {
            List list = new List();
            for (int i = 1; i <= 12; i++)
            {
                SMonth obj = new SMonth();
                obj.MonthNo = i;
                switch (i)
                {
                    case 1:
                        obj.MonthName = “一月“;
                        break;
                    case 2:
                        obj.MonthName = “二月“;
                        break;
                    case 3:
                        obj.MonthName = “三月“;
                        break;
                    case 4:
                        obj.MonthName = “四月“;
                        break;
                    case 5:
                        obj.MonthName = “五月“;
                        break;
                    case 6:
                        obj.MonthName = “六月“;
                        break;
                    case 7:
                        obj.MonthName = “七月“;
                        break;
                    case 8:
                        obj.MonthName = “八月“;
                        break;
                    case 9:
                        obj.MonthName = “九月“;
                        break;
                    case 10:
                        obj.MonthName = “十月“;
                        break;
                    case 11:
                        obj.MonthName = “十一月“;
                        break;
                    case 12:
                        obj.MonthName = “十二月“;
                        break;
                    default:
                        break;
                }
                list.Add(obj);
            }
            return list;
        }

        /// 
        /// 判断是否为空(空为true)
        /// 

        /// 
        /// 
        public static bool ISBLANK(string Input)
        {
            if (Input == null || Input.Trim() == ““)
            {
                return true;
            }
            else
            {
                return false;
            }
        }

        /// 

        /// 查询条件
        /// <

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

     文件       6556  2009-08-06 23:57  SalarySys\Backup\BLL\baseSet.cs

     文件       2582  2009-08-05 15:46  SalarySys\Backup\BLL\BLL.csproj

     文件       2236  2009-08-05 19:08  SalarySys\Backup\BLL\CompanyInfoBLL.cs

     文件        497  2009-08-05 15:44  SalarySys\Backup\BLL\DataGridViewListBLL.cs

     文件       1988  2012-08-06 18:03  SalarySys\Backup\BLL\DepartInfoBLL.cs

     文件       2561  2012-08-06 20:51  SalarySys\Backup\BLL\EmpInfoBLL.cs

     文件       1313  2009-08-04 23:37  SalarySys\Backup\BLL\Properties\AssemblyInfo.cs

     文件       4275  2009-08-06 23:29  SalarySys\Backup\BLL\SalaryInfoBLL.cs

     文件       2536  2009-08-05 11:42  SalarySys\Backup\BLL\UserInfoBLL.cs

     文件       5092  2009-08-07 00:32  SalarySys\Backup\DAL\CompanyInfoDAL.cs

     文件        276  2009-08-07 00:21  SalarySys\Backup\DAL\ConnectionStr.cs

     文件       2512  2009-08-05 15:46  SalarySys\Backup\DAL\DAL.csproj

     文件        816  2009-08-07 00:43  SalarySys\Backup\DAL\DataGridViewListDAL.cs

     文件       4493  2009-08-07 00:35  SalarySys\Backup\DAL\DepartInfoDAL.cs

     文件       7137  2009-08-07 00:38  SalarySys\Backup\DAL\EmpInfoDAL.cs

     文件       1313  2009-08-04 15:22  SalarySys\Backup\DAL\Properties\AssemblyInfo.cs

     文件      16626  2009-08-07 00:41  SalarySys\Backup\DAL\SalaryInfoDAL.cs

     文件      72608  2009-08-04 15:29  SalarySys\Backup\DAL\SQLHelper.cs

     文件       6039  2009-08-07 00:43  SalarySys\Backup\DAL\UserInfoDAL.cs

     文件        846  2009-08-06 01:26  SalarySys\Backup\Module\CompanyInfo.cs

     文件       1015  2009-08-05 09:03  SalarySys\Backup\Module\DepartInfo.cs

     文件       1363  2009-08-05 09:51  SalarySys\Backup\Module\EmpInfo.cs

     文件       2113  2009-08-04 15:27  SalarySys\Backup\Module\Module.csproj

     文件       1319  2009-08-04 15:10  SalarySys\Backup\Module\Properties\AssemblyInfo.cs

     文件       2891  2009-08-06 23:21  SalarySys\Backup\Module\SalaryInfo.cs

     文件        962  2009-08-04 20:58  SalarySys\Backup\Module\UserInfo.cs

     文件       2296  2009-08-07 08:52  SalarySys\Backup\SalarySys.sln

    ..A..H.     55296  2011-08-09 18:07  SalarySys\Backup\SalarySys.suo

     文件        365  2011-03-06 03:15  SalarySys\Backup\Sys\App.config

     文件       3529  2009-08-07 00:01  SalarySys\Backup\Sys\frmEditSalary.cs

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

评论

共有 条评论