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

📄 newdbdataset.designer.cs

📁 这是一个简单的csharp程序。他能实现的功能也比较简单。
💻 CS
📖 第 1 页 / 共 5 页
字号:
            internal void InitVars() {
                this.columnNEW_ID = base.Columns["NEW_ID"];
                this.columnNEW_DIANHUA = base.Columns["NEW_DIANHUA"];
                this.columnNEW_SHOUJI = base.Columns["NEW_SHOUJI"];
                this.columnNEW_DIZHI = base.Columns["NEW_DIZHI"];
                this.columnNEW_QITA = base.Columns["NEW_QITA"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnNEW_ID = new System.Data.DataColumn("NEW_ID", typeof(decimal), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_ID);
                this.columnNEW_DIANHUA = new System.Data.DataColumn("NEW_DIANHUA", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_DIANHUA);
                this.columnNEW_SHOUJI = new System.Data.DataColumn("NEW_SHOUJI", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_SHOUJI);
                this.columnNEW_DIZHI = new System.Data.DataColumn("NEW_DIZHI", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_DIZHI);
                this.columnNEW_QITA = new System.Data.DataColumn("NEW_QITA", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_QITA);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnNEW_ID}, true));
                this.columnNEW_ID.AllowDBNull = false;
                this.columnNEW_ID.Unique = true;
                this.columnNEW_DIANHUA.MaxLength = 20;
                this.columnNEW_SHOUJI.MaxLength = 20;
                this.columnNEW_DIZHI.MaxLength = 50;
                this.columnNEW_QITA.MaxLength = 100;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE3Row NewNEW_TABLE3Row() {
                return ((NEW_TABLE3Row)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new NEW_TABLE3Row(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(NEW_TABLE3Row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.NEW_TABLE3RowChanged != null)) {
                    this.NEW_TABLE3RowChanged(this, new NEW_TABLE3RowChangeEvent(((NEW_TABLE3Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.NEW_TABLE3RowChanging != null)) {
                    this.NEW_TABLE3RowChanging(this, new NEW_TABLE3RowChangeEvent(((NEW_TABLE3Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.NEW_TABLE3RowDeleted != null)) {
                    this.NEW_TABLE3RowDeleted(this, new NEW_TABLE3RowChangeEvent(((NEW_TABLE3Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.NEW_TABLE3RowDeleting != null)) {
                    this.NEW_TABLE3RowDeleting(this, new NEW_TABLE3RowChangeEvent(((NEW_TABLE3Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveNEW_TABLE3Row(NEW_TABLE3Row row) {
                this.Rows.Remove(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
                System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
                System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
                newDBDataSet ds = new newDBDataSet();
                xs.Add(ds.GetSchemaSerializable());
                System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "NEW_TABLE3DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class NEW_TABLE4DataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnNEW_ID;
            
            private System.Data.DataColumn columnNEW_JIANGLI;
            
            private System.Data.DataColumn columnNEW_CHUFEN;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE4DataTable() {
                this.TableName = "NEW_TABLE4";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal NEW_TABLE4DataTable(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_TABLE4DataTable(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_JIANGLIColumn {
                get {
                    return this.columnNEW_JIANGLI;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_CHUFENColumn {
                get {
                    return this.columnNEW_CHUFEN;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE4Row this[int index] {
                get {
                    return ((NEW_TABLE4Row)(this.Rows[index]));
                }
            }
            
            public event NEW_TABLE4RowChangeEventHandler NEW_TABLE4RowChanging;
            
            public event NEW_TABLE4RowChangeEventHandler NEW_TABLE4RowChanged;
            
            public event NEW_TABLE4RowChangeEventHandler NEW_TABLE4RowDeleting;
            
            public event NEW_TABLE4RowChangeEventHandler NEW_TABLE4RowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddNEW_TABLE4Row(NEW_TABLE4Row row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE4Row AddNEW_TABLE4Row(NEW_TABLE1Row parentNEW_TABLE1RowByNEW_TABLE1_NEW_TABLE4, string NEW_JIANGLI, string NEW_CHUFEN) {
                NEW_TABLE4Row rowNEW_TABLE4Row = ((NEW_TABLE4Row)(this.NewRow()));
                rowNEW_TABLE4Row.ItemArray = new object[] {
                        parentNEW_TABLE1RowByNEW_TABLE1_NEW_TABLE4[0],
                        NEW_JIANGLI,
                        NEW_CHUFEN};
                this.Rows.Add(rowNEW_TABLE4Row);
                return rowNEW_TABLE4Row;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE4Row FindByNEW_ID(decimal NEW_ID) {
                return ((NEW_TABLE4Row)(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() {
                NEW_TABLE4DataTable cln = ((NEW_TABLE4DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new NEW_TABLE4DataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnNEW_ID = base.Columns["NEW_ID"];
                this.columnNEW_JIANGLI = base.Columns["NEW_JIANGLI"];
                this.columnNEW_CHUFEN = base.Columns["NEW_CHUFEN"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnNEW_ID = new System.Data.DataColumn("NEW_ID", typeof(decimal), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_ID);
                this.columnNEW_JIANGLI = new System.Data.DataColumn("NEW_JIANGLI", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_JIANGLI);
                this.columnNEW_CHUFEN = new System.Data.DataColumn("NEW_CHUFEN", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_CHUFEN);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnNEW_ID}, true));
                this.columnNEW_ID.AllowDBNull = false;
                this.columnNEW_ID.Unique = true;
                this.columnNEW_JIANGLI.MaxLength = 50;
                this.columnNEW_CHUFEN.MaxLength = 50;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE4Row NewNEW_TABLE4Row() {
                return ((NEW_TABLE4Row)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new NEW_TABLE4Row

⌨️ 快捷键说明

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