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

📄 dataset1.cs

📁 c#语音酒店管理的毕业设计 适合于初级水平的学习
💻 CS
📖 第 1 页 / 共 3 页
字号:
                get {
                    return ((jud_tsRow)(this.Rows[index]));
                }
            }
            
            public event jud_tsRowChangeEventHandler jud_tsRowChanged;
            
            public event jud_tsRowChangeEventHandler jud_tsRowChanging;
            
            public event jud_tsRowChangeEventHandler jud_tsRowDeleted;
            
            public event jud_tsRowChangeEventHandler jud_tsRowDeleting;
            
            public void Addjud_tsRow(jud_tsRow row) {
                this.Rows.Add(row);
            }
            
            public jud_tsRow Addjud_tsRow(
                        string pzhm, 
                        string xm, 
                        string fjh, 
                        System.DateTime zsrq, 
                        string zssj, 
                        System.Decimal sjsf, 
                        string jkfs, 
                        int zk, 
                        System.Decimal yssf, 
                        System.Decimal jezj, 
                        System.Decimal yj, 
                        int zsts, 
                        System.Decimal thsf, 
                        System.Decimal jsf, 
                        System.Decimal dhf, 
                        System.Decimal psf, 
                        System.Decimal qtfy, 
                        System.DateTime tsrq, 
                        string tssj, 
                        string bz, 
                        string czy) {
                jud_tsRow rowjud_tsRow = ((jud_tsRow)(this.NewRow()));
                rowjud_tsRow.ItemArray = new object[] {
                        pzhm,
                        xm,
                        fjh,
                        zsrq,
                        zssj,
                        sjsf,
                        jkfs,
                        zk,
                        yssf,
                        jezj,
                        yj,
                        zsts,
                        thsf,
                        jsf,
                        dhf,
                        psf,
                        qtfy,
                        tsrq,
                        tssj,
                        bz,
                        czy};
                this.Rows.Add(rowjud_tsRow);
                return rowjud_tsRow;
            }
            
            public jud_tsRow FindBypzhm(string pzhm) {
                return ((jud_tsRow)(this.Rows.Find(new object[] {
                            pzhm})));
            }
            
            public System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            public override DataTable Clone() {
                jud_tsDataTable cln = ((jud_tsDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            protected override DataTable CreateInstance() {
                return new jud_tsDataTable();
            }
            
            internal void InitVars() {
                this.columnpzhm = this.Columns["pzhm"];
                this.columnxm = this.Columns["xm"];
                this.columnfjh = this.Columns["fjh"];
                this.columnzsrq = this.Columns["zsrq"];
                this.columnzssj = this.Columns["zssj"];
                this.columnsjsf = this.Columns["sjsf"];
                this.columnjkfs = this.Columns["jkfs"];
                this.columnzk = this.Columns["zk"];
                this.columnyssf = this.Columns["yssf"];
                this.columnjezj = this.Columns["jezj"];
                this.columnyj = this.Columns["yj"];
                this.columnzsts = this.Columns["zsts"];
                this.columnthsf = this.Columns["thsf"];
                this.columnjsf = this.Columns["jsf"];
                this.columndhf = this.Columns["dhf"];
                this.columnpsf = this.Columns["psf"];
                this.columnqtfy = this.Columns["qtfy"];
                this.columntsrq = this.Columns["tsrq"];
                this.columntssj = this.Columns["tssj"];
                this.columnbz = this.Columns["bz"];
                this.columnczy = this.Columns["czy"];
            }
            
            private void InitClass() {
                this.columnpzhm = new DataColumn("pzhm", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnpzhm);
                this.columnxm = new DataColumn("xm", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnxm);
                this.columnfjh = new DataColumn("fjh", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnfjh);
                this.columnzsrq = new DataColumn("zsrq", typeof(System.DateTime), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnzsrq);
                this.columnzssj = new DataColumn("zssj", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnzssj);
                this.columnsjsf = new DataColumn("sjsf", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnsjsf);
                this.columnjkfs = new DataColumn("jkfs", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnjkfs);
                this.columnzk = new DataColumn("zk", typeof(int), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnzk);
                this.columnyssf = new DataColumn("yssf", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnyssf);
                this.columnjezj = new DataColumn("jezj", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnjezj);
                this.columnyj = new DataColumn("yj", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnyj);
                this.columnzsts = new DataColumn("zsts", typeof(int), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnzsts);
                this.columnthsf = new DataColumn("thsf", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnthsf);
                this.columnjsf = new DataColumn("jsf", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnjsf);
                this.columndhf = new DataColumn("dhf", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columndhf);
                this.columnpsf = new DataColumn("psf", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnpsf);
                this.columnqtfy = new DataColumn("qtfy", typeof(System.Decimal), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnqtfy);
                this.columntsrq = new DataColumn("tsrq", typeof(System.DateTime), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columntsrq);
                this.columntssj = new DataColumn("tssj", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columntssj);
                this.columnbz = new DataColumn("bz", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnbz);
                this.columnczy = new DataColumn("czy", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnczy);
                this.Constraints.Add(new UniqueConstraint("Dataset1Key1", new DataColumn[] {
                                this.columnpzhm}, true));
                this.columnpzhm.AllowDBNull = false;
                this.columnpzhm.Unique = true;
                this.columnxm.AllowDBNull = false;
                this.columnfjh.AllowDBNull = false;
            }
            
            public jud_tsRow Newjud_tsRow() {
                return ((jud_tsRow)(this.NewRow()));
            }
            
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
                return new jud_tsRow(builder);
            }
            
            protected override System.Type GetRowType() {
                return typeof(jud_tsRow);
            }
            
            protected override void OnRowChanged(DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.jud_tsRowChanged != null)) {
                    this.jud_tsRowChanged(this, new jud_tsRowChangeEvent(((jud_tsRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowChanging(DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.jud_tsRowChanging != null)) {
                    this.jud_tsRowChanging(this, new jud_tsRowChangeEvent(((jud_tsRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleted(DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.jud_tsRowDeleted != null)) {
                    this.jud_tsRowDeleted(this, new jud_tsRowChangeEvent(((jud_tsRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleting(DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.jud_tsRowDeleting != null)) {
                    this.jud_tsRowDeleting(this, new jud_tsRowChangeEvent(((jud_tsRow)(e.Row)), e.Action));
                }
            }
            
            public void Removejud_tsRow(jud_tsRow row) {
                this.Rows.Remove(row);
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class jud_tsRow : DataRow {
            
            private jud_tsDataTable tablejud_ts;
            
            internal jud_tsRow(DataRowBuilder rb) : 
                    base(rb) {
                this.tablejud_ts = ((jud_tsDataTable)(this.Table));
            }
            
            public string pzhm {
                get {
                    return ((string)(this[this.tablejud_ts.pzhmColumn]));
                }
                set {
                    this[this.tablejud_ts.pzhmColumn] = value;
                }
            }
            
            public string xm {
                get {
                    return ((string)(this[this.tablejud_ts.xmColumn]));
                }
                set {
                    this[this.tablejud_ts.xmColumn] = value;
                }
            }
            
            public string fjh {
                get {
                    return ((string)(this[this.tablejud_ts.fjhColumn]));
                }
                set {
                    this[this.tablejud_ts.fjhColumn] = value;
                }
            }
            
            public System.DateTime zsrq {
                get {
                    try {
                        return ((System.DateTime)(this[this.tablejud_ts.zsrqColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablejud_ts.zsrqColumn] = value;
                }
            }
            
            public string zssj {
                get {
                    try {
                        return ((string)(this[this.tablejud_ts.zssjColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablejud_ts.zssjColumn] = value;
                }
            }
            
            public System.Decimal sjsf {
                get {
                    try {
                        return ((System.Decimal)(this[this.tablejud_ts.sjsfColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablejud_ts.sjsfColumn] = value;
                }
            }
            
            public string jkfs {
                get {
                    try {
                        return ((string)(this[this.tablejud_ts.jkfsColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablejud_ts.jkfsColumn] = value;
                }
            }
            
            public int zk {
                get {
                    try {
                        return ((int)(this[this.tablejud_ts.zkColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablejud_ts.zkColumn] = value;
                }
            }
            
            public System.Decimal yssf {
                get {
                    try {
                        return ((System.Decimal)(this[this.tablejud_ts.yssfColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablejud_ts.yssfColumn] = value;
                }
            }
            
            public System.Decimal jezj {
                get {
                    try {
                        return ((System.Decimal)(this[this.tablejud_ts.jezjColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }

⌨️ 快捷键说明

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