• 大小: 2.66M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-21
  • 语言: C#
  • 标签: 其他  

资源简介

0027ASP.NET公司员工管理系统的设计与实现.rar

资源截图

代码片段和文件信息

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using WbForm.Common;
using WbForm.Common.Log;
using WbForm.SRM.DAL;
using WbForm.SRM.Entities;

public partial class _Default :basePage
{
    public TotalInfo totalInfo;
    protected void Page_Load(object sender EventArgs e)
    {
        Master.Settitle(GetGlobalResourceobject(“Default“ “Settitle“).ToString());
        this.CheckLogin();
        totalInfo = new TotalInfo();
    }
}

public class TotalInfo:basePage
{
    private int _staffCount;

    public int StaffCount
    {
        get { return _staffCount; }
        set { _staffCount = value; }
    }

    private string _adminName;

    public string AdminName
    {
        get { return _adminName; }
        set { _adminName = value; }
    }

    private int _workCount;

    public int WorkCount
    {
        get { return _workCount; }
        set { _workCount = value; }
    }
    private int lapaseLogCount;

    public int LapaseLogCount
    {
        get { return lapaseLogCount; }
        set { lapaseLogCount = value; }
    }
    private int underlingLapseLogCount;

    public int UnderlingLapseLogCount
    {
        get { return underlingLapseLogCount; }
        set { underlingLapseLogCount = value; }
    }

    public TotalInfo()
    {
        Staffs stafDAL = Staffs.Instance(CommConfig.baseInfoConnectstring);
        StaffCount = stafDAL.GetRowCount(“ 1 = 1“);
        AdminName = stafDAL.C_GetByWhere(“ JobId = 1“).StaffName;
        WorkTasks worktaskDAL = WorkTasks.Instance(CommConfig.baseInfoConnectstring);
        WorkCount = worktaskDAL.GetRowCount(“WorkIsDone = 0 And StaffID = “+this.GetCookie(“StaffID“));
        LapseLogs lapseLogCounts = LapseLogs.Instance(CommConfig.baseInfoConnectstring);
        LapaseLogCount = lapseLogCounts.GetRowCount(“StaffID = “ + this.GetCookie(“StaffID“));
        Staffs tstaffsName = Staffs.Instance(CommConfig.baseInfoConnectstring);
        UnderlingLapseLogCount = tstaffsName.C_GetMyList(Convert.ToInt32(this.GetCookie(“StaffID“))).Rows.Count;
        
    }
}

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

     文件    1133056  2007-09-30 11:11  论文.doc

     文件      22695  2007-04-12 19:48  WbFormCRM\App_Code\Areas.xsd

     文件       1056  2007-04-12 19:48  WbFormCRM\App_Code\Areas.xss

     文件      18781  2007-02-06 17:22  WbFormCRM\App_Code\basePage.cs

     文件        589  2007-01-30 21:06  WbFormCRM\App_Code\MyAjaxClass.cs

     文件        132  2007-01-30 21:06  WbFormCRM\App_Code\MyAjaxEnum.cs

     文件      11123  2007-01-30 21:06  WbFormCRM\App_Code\MyAjaxMethods.cs

     文件        128  2007-04-12 20:10  WbFormCRM\App_Code\vssver.scc

     文件       9193  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Agreement.resx

     文件       9362  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Agreement.zh-tw.resx

     文件       9196  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Agreements.en-us.resx

     文件       9193  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Agreements.resx

     文件       9362  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Agreements.zh-tw.resx

     文件       8757  2007-01-30 21:06  WbFormCRM\App_GlobalResources\baseInfo.en-us.resx

     文件       9064  2007-01-30 21:06  WbFormCRM\App_GlobalResources\baseInfo.resx

     文件       8818  2007-01-30 21:06  WbFormCRM\App_GlobalResources\baseInfo.zh-tw.resx

     文件       6754  2007-01-30 21:06  WbFormCRM\App_GlobalResources\baseinfo_PayLevels.en-us.resx

     文件       6731  2007-01-30 21:06  WbFormCRM\App_GlobalResources\baseinfo_PayLevels.resx

     文件       6774  2007-01-30 21:06  WbFormCRM\App_GlobalResources\baseinfo_PayLevels.zh-tw.resx

     文件       8402  2007-01-30 21:06  WbFormCRM\App_GlobalResources\BonusLogs.en-us.resx

     文件       8366  2007-01-30 21:06  WbFormCRM\App_GlobalResources\BonusLogs.resx

     文件       8354  2007-01-30 21:06  WbFormCRM\App_GlobalResources\BonusLogs.zh-tw.resx

     文件       7052  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Businesss.en-us.resx

     文件       7071  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Businesss.resx

     文件       7073  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Businesss.zh-tw.resx

     文件       7060  2007-01-30 21:06  WbFormCRM\App_GlobalResources\BusinessTypes.en-us.resx

     文件       7102  2007-01-30 21:06  WbFormCRM\App_GlobalResources\BusinessTypes.resx

     文件       7110  2007-01-30 21:06  WbFormCRM\App_GlobalResources\BusinessTypes.zh-tw.resx

     文件       7159  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Button.en-us.resx

     文件       7156  2007-01-30 21:06  WbFormCRM\App_GlobalResources\Button.resx

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

评论

共有 条评论