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

📄 newdbdataset.designer.cs

📁 这是一个简单的csharp程序。他能实现的功能也比较简单。
💻 CS
📖 第 1 页 / 共 5 页
字号:
            this.tableNEW_TABLE4 = ((NEW_TABLE4DataTable)(base.Tables["NEW_TABLE4"]));
            if ((initTable == true)) {
                if ((this.tableNEW_TABLE4 != null)) {
                    this.tableNEW_TABLE4.InitVars();
                }
            }
            this.tableNEW_ZIDIAN1 = ((NEW_ZIDIAN1DataTable)(base.Tables["NEW_ZIDIAN1"]));
            if ((initTable == true)) {
                if ((this.tableNEW_ZIDIAN1 != null)) {
                    this.tableNEW_ZIDIAN1.InitVars();
                }
            }
            this.relationNEW_TABLE1_NEW_TABLE2 = this.Relations["NEW_TABLE1_NEW_TABLE2"];
            this.relationNEW_TABLE1_NEW_TABLE3 = this.Relations["NEW_TABLE1_NEW_TABLE3"];
            this.relationNEW_TABLE1_NEW_TABLE4 = this.Relations["NEW_TABLE1_NEW_TABLE4"];
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "newDBDataSet";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/newDBDataSet.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableNEW_TABLE1 = new NEW_TABLE1DataTable();
            base.Tables.Add(this.tableNEW_TABLE1);
            this.tableNEW_TABLE2 = new NEW_TABLE2DataTable();
            base.Tables.Add(this.tableNEW_TABLE2);
            this.tableNEW_TABLE3 = new NEW_TABLE3DataTable();
            base.Tables.Add(this.tableNEW_TABLE3);
            this.tableNEW_TABLE4 = new NEW_TABLE4DataTable();
            base.Tables.Add(this.tableNEW_TABLE4);
            this.tableNEW_ZIDIAN1 = new NEW_ZIDIAN1DataTable();
            base.Tables.Add(this.tableNEW_ZIDIAN1);
            this.relationNEW_TABLE1_NEW_TABLE2 = new System.Data.DataRelation("NEW_TABLE1_NEW_TABLE2", new System.Data.DataColumn[] {
                        this.tableNEW_TABLE1.NEW_IDColumn}, new System.Data.DataColumn[] {
                        this.tableNEW_TABLE2.NEW_IDColumn}, false);
            this.Relations.Add(this.relationNEW_TABLE1_NEW_TABLE2);
            this.relationNEW_TABLE1_NEW_TABLE3 = new System.Data.DataRelation("NEW_TABLE1_NEW_TABLE3", new System.Data.DataColumn[] {
                        this.tableNEW_TABLE1.NEW_IDColumn}, new System.Data.DataColumn[] {
                        this.tableNEW_TABLE3.NEW_IDColumn}, false);
            this.Relations.Add(this.relationNEW_TABLE1_NEW_TABLE3);
            this.relationNEW_TABLE1_NEW_TABLE4 = new System.Data.DataRelation("NEW_TABLE1_NEW_TABLE4", new System.Data.DataColumn[] {
                        this.tableNEW_TABLE1.NEW_IDColumn}, new System.Data.DataColumn[] {
                        this.tableNEW_TABLE4.NEW_IDColumn}, false);
            this.Relations.Add(this.relationNEW_TABLE1_NEW_TABLE4);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeNEW_TABLE1() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeNEW_TABLE2() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeNEW_TABLE3() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeNEW_TABLE4() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeNEW_ZIDIAN1() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
            newDBDataSet ds = new newDBDataSet();
            System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
            System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
            xs.Add(ds.GetSchemaSerializable());
            System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            return type;
        }
        
        public delegate void NEW_TABLE1RowChangeEventHandler(object sender, NEW_TABLE1RowChangeEvent e);
        
        public delegate void NEW_TABLE2RowChangeEventHandler(object sender, NEW_TABLE2RowChangeEvent e);
        
        public delegate void NEW_TABLE3RowChangeEventHandler(object sender, NEW_TABLE3RowChangeEvent e);
        
        public delegate void NEW_TABLE4RowChangeEventHandler(object sender, NEW_TABLE4RowChangeEvent e);
        
        public delegate void NEW_ZIDIAN1RowChangeEventHandler(object sender, NEW_ZIDIAN1RowChangeEvent e);
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class NEW_TABLE1DataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnNEW_ID;
            
            private System.Data.DataColumn columnNEW_XINGMING;
            
            private System.Data.DataColumn columnNEW_NIANLING;
            
            private System.Data.DataColumn columnNEW_XINGBIE;
            
            private System.Data.DataColumn columnNEW_XUELI;
            
            private System.Data.DataColumn columnNEW_XUEXIAO;
            
            private System.Data.DataColumn columnNEW_SHENGRI;
            
            private System.Data.DataColumn columnNEW_GONGZUONIAN;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE1DataTable() {
                this.TableName = "NEW_TABLE1";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal NEW_TABLE1DataTable(System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected NEW_TABLE1DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_IDColumn {
                get {
                    return this.columnNEW_ID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_XINGMINGColumn {
                get {
                    return this.columnNEW_XINGMING;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_NIANLINGColumn {
                get {
                    return this.columnNEW_NIANLING;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_XINGBIEColumn {
                get {
                    return this.columnNEW_XINGBIE;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_XUELIColumn {
                get {
                    return this.columnNEW_XUELI;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_XUEXIAOColumn {
                get {
                    return this.columnNEW_XUEXIAO;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_SHENGRIColumn {
                get {
                    return this.columnNEW_SHENGRI;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_GONGZUONIANColumn {
                get {
                    return this.columnNEW_GONGZUONIAN;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE1Row this[int index] {
                get {
                    return ((NEW_TABLE1Row)(this.Rows[index]));
                }
            }
            
            public event NEW_TABLE1RowChangeEventHandler NEW_TABLE1RowChanging;
            
            public event NEW_TABLE1RowChangeEventHandler NEW_TABLE1RowChanged;
            
            public event NEW_TABLE1RowChangeEventHandler NEW_TABLE1RowDeleting;
            
            public event NEW_TABLE1RowChangeEventHandler NEW_TABLE1RowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddNEW_TABLE1Row(NEW_TABLE1Row row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE1Row AddNEW_TABLE1Row(decimal NEW_ID, string NEW_XINGMING, string NEW_NIANLING, bool NEW_XINGBIE, string NEW_XUELI, string NEW_XUEXIAO, System.DateTime NEW_SHENGRI, string NEW_GONGZUONIAN) {
                NEW_TABLE1Row rowNEW_TABLE1Row = ((NEW_TABLE1Row)(this.NewRow()));
                rowNEW_TABLE1Row.ItemArray = new object[] {
                        NEW_ID,
                        NEW_XINGMING,
                        NEW_NIANLING,
                        NEW_XINGBIE,
                        NEW_XUELI,
                        NEW_XUEXIAO,
                        NEW_SHENGRI,
                        NEW_GONGZUONIAN};
                this.Rows.Add(rowNEW_TABLE1Row);
                return rowNEW_TABLE1Row;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE1Row FindByNEW_ID(decimal NEW_ID) {
                return ((NEW_TABLE1Row)(this.Rows.Find(new object[] {
                            NEW_ID})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {

⌨️ 快捷键说明

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