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

📄 dataset1.cs

📁 C人力资源管理系统源代码,我的课程作品。给大家分享
💻 CS
📖 第 1 页 / 共 5 页
字号:
                工资发放历史表Row row工资发放历史表Row = ((工资发放历史表Row)(this.NewRow()));
                row工资发放历史表Row.ItemArray = new object[] {
                        日期,
                        职员编号,
                        基本工资,
                        浮动工资,
                        合同补,
                        粮副补,
                        房补,
                        临时补,
                        职务工资,
                        工龄工资,
                        考核工资,
                        奖金,
                        应发金额合计,
                        房租,
                        水电费,
                        请假扣除,
                        考勤扣除,
                        罚款,
                        住房公积金,
                        医疗保险,
                        养老保险,
                        失业保险,
                        生育保险,
                        工伤保险,
                        应扣金额合计,
                        工资合计,
                        个人所得税,
                        实发金额,
                        发放否,
                        月份};
                this.Rows.Add(row工资发放历史表Row);
                return row工资发放历史表Row;
            }
            
            public System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            public override DataTable Clone() {
                工资发放历史表DataTable cln = ((工资发放历史表DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            protected override DataTable CreateInstance() {
                return new 工资发放历史表DataTable();
            }
            
            internal void InitVars() {
                this.column日期 = this.Columns["日期"];
                this.column职员编号 = this.Columns["职员编号"];
                this.column基本工资 = this.Columns["基本工资"];
                this.column浮动工资 = this.Columns["浮动工资"];
                this.column合同补 = this.Columns["合同补"];
                this.column粮副补 = this.Columns["粮副补"];
                this.column房补 = this.Columns["房补"];
                this.column临时补 = this.Columns["临时补"];
                this.column职务工资 = this.Columns["职务工资"];
                this.column工龄工资 = this.Columns["工龄工资"];
                this.column考核工资 = this.Columns["考核工资"];
                this.column奖金 = this.Columns["奖金"];
                this.column应发金额合计 = this.Columns["应发金额合计"];
                this.column房租 = this.Columns["房租"];
                this.column水电费 = this.Columns["水电费"];
                this.column请假扣除 = this.Columns["请假扣除"];
                this.column考勤扣除 = this.Columns["考勤扣除"];
                this.column罚款 = this.Columns["罚款"];
                this.column住房公积金 = this.Columns["住房公积金"];
                this.column医疗保险 = this.Columns["医疗保险"];
                this.column养老保险 = this.Columns["养老保险"];
                this.column失业保险 = this.Columns["失业保险"];
                this.column生育保险 = this.Columns["生育保险"];
                this.column工伤保险 = this.Columns["工伤保险"];
                this.column应扣金额合计 = this.Columns["应扣金额合计"];
                this.column工资合计 = this.Columns["工资合计"];
                this.column个人所得税 = this.Columns["个人所得税"];
                this.column实发金额 = this.Columns["实发金额"];
                this.column发放否 = this.Columns["发放否"];
                this.column月份 = this.Columns["月份"];
            }
            
            private void InitClass() {
                this.column日期 = new DataColumn("日期", typeof(int), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column日期);
                this.column职员编号 = new DataColumn("职员编号", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column职员编号);
                this.column基本工资 = new DataColumn("基本工资", typeof(System.Double), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column基本工资);
                this.column浮动工资 = new DataColumn("浮动工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column浮动工资);
                this.column合同补 = new DataColumn("合同补", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column合同补);
                this.column粮副补 = new DataColumn("粮副补", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column粮副补);
                this.column房补 = new DataColumn("房补", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column房补);
                this.column临时补 = new DataColumn("临时补", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column临时补);
                this.column职务工资 = new DataColumn("职务工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column职务工资);
                this.column工龄工资 = new DataColumn("工龄工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column工龄工资);
                this.column考核工资 = new DataColumn("考核工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column考核工资);
                this.column奖金 = new DataColumn("奖金", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column奖金);
                this.column应发金额合计 = new DataColumn("应发金额合计", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column应发金额合计);
                this.column房租 = new DataColumn("房租", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column房租);
                this.column水电费 = new DataColumn("水电费", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column水电费);
                this.column请假扣除 = new DataColumn("请假扣除", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column请假扣除);
                this.column考勤扣除 = new DataColumn("考勤扣除", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column考勤扣除);
                this.column罚款 = new DataColumn("罚款", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column罚款);
                this.column住房公积金 = new DataColumn("住房公积金", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column住房公积金);
                this.column医疗保险 = new DataColumn("医疗保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column医疗保险);
                this.column养老保险 = new DataColumn("养老保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column养老保险);
                this.column失业保险 = new DataColumn("失业保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column失业保险);
                this.column生育保险 = new DataColumn("生育保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column生育保险);
                this.column工伤保险 = new DataColumn("工伤保险", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column工伤保险);
                this.column应扣金额合计 = new DataColumn("应扣金额合计", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column应扣金额合计);
                this.column工资合计 = new DataColumn("工资合计", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column工资合计);
                this.column个人所得税 = new DataColumn("个人所得税", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column个人所得税);
                this.column实发金额 = new DataColumn("实发金额", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column实发金额);
                this.column发放否 = new DataColumn("发放否", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column发放否);
                this.column月份 = new DataColumn("月份", typeof(int), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column月份);
            }
            
            public 工资发放历史表Row New工资发放历史表Row() {
                return ((工资发放历史表Row)(this.NewRow()));
            }
            
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
                return new 工资发放历史表Row(builder);
            }
            
            protected override System.Type GetRowType() {
                return typeof(工资发放历史表Row);
            }
            
            protected override void OnRowChanged(DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.工资发放历史表RowChanged != null)) {
                    this.工资发放历史表RowChanged(this, new 工资发放历史表RowChangeEvent(((工资发放历史表Row)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowChanging(DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.工资发放历史表RowChanging != null)) {
                    this.工资发放历史表RowChanging(this, new 工资发放历史表RowChangeEvent(((工资发放历史表Row)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleted(DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.工资发放历史表RowDeleted != null)) {
                    this.工资发放历史表RowDeleted(this, new 工资发放历史表RowChangeEvent(((工资发放历史表Row)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleting(DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.工资发放历史表RowDeleting != null)) {
                    this.工资发放历史表RowDeleting(this, new 工资发放历史表RowChangeEvent(((工资发放历史表Row)(e.Row)), e.Action));
                }
            }
            
            public void Remove工资发放历史表Row(工资发放历史表Row row) {
                this.Rows.Remove(row);
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class 工资发放历史表Row : DataRow {
            
            private 工资发放历史表DataTable table工资发放历史表;
            
            internal 工资发放历史表Row(DataRowBuilder rb) : 
                    base(rb) {
                this.table工资发放历史表 = ((工资发放历史表DataTable)(this.Table));
            }
            
            public int 日期 {
                get {
                    try {
                        return ((int)(this[this.table工资发放历史表.日期Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table工资发放历史表.日期Column] = value;
                }
            }
            
            public string 职员编号 {
                get {
                    try {
                        return ((string)(this[this.table工资发放历史表.职员编号Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table工资发放历史表.职员编号Column] = value;
                }
            }
            
            public System.Double 基本工资 {
                get {
                    try {
                        return ((System.Double)(this[this.table工资发放历史表.基本工资Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table工资发放历史表.基本工资Column] = value;
                }
            }
            
            public System.Decimal 浮动工资 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table工资发放历史表.浮动工资Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table工资发放历史表.浮动工资Column] = value;
                }
            }
            
            public System.Decimal 合同补 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table工资发放历史表.合同补Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table工资发放历史表.合同补Column] = value;
                }
            }
            
            public System.Decimal 粮副补 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table工资发放历史表.粮副补Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table工资发放历史表.粮副补Column] = value;
                }
            }
            
            public System.Decimal 房补 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table工资发放历史表.房补Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table工资发放历史表.房补Column] = value;
                }

⌨️ 快捷键说明

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