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

📄 dataset1.designer.cs

📁 网络应用
💻 CS
📖 第 1 页 / 共 3 页
字号:
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Y_NumberColumn {
                get {
                    return this.columnY_Number;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public StudRow this[int index] {
                get {
                    return ((StudRow)(this.Rows[index]));
                }
            }
            
            public event StudRowChangeEventHandler StudRowChanging;
            
            public event StudRowChangeEventHandler StudRowChanged;
            
            public event StudRowChangeEventHandler StudRowDeleting;
            
            public event StudRowChangeEventHandler StudRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddStudRow(StudRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public StudRow AddStudRow(string s_Number, string s_Name, int s_Age, int Y_Number) {
                StudRow rowStudRow = ((StudRow)(this.NewRow()));
                rowStudRow.ItemArray = new object[] {
                        null,
                        s_Number,
                        s_Name,
                        s_Age,
                        Y_Number};
                this.Rows.Add(rowStudRow);
                return rowStudRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public StudRow FindBys_Number(string s_Number) {
                return ((StudRow)(this.Rows.Find(new object[] {
                            s_Number})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                StudDataTable cln = ((StudDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new StudDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columns_ID = base.Columns["s_ID"];
                this.columns_Number = base.Columns["s_Number"];
                this.columns_Name = base.Columns["s_Name"];
                this.columns_Age = base.Columns["s_Age"];
                this.columnY_Number = base.Columns["Y_Number"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columns_ID = new System.Data.DataColumn("s_ID", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_ID);
                this.columns_Number = new System.Data.DataColumn("s_Number", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_Number);
                this.columns_Name = new System.Data.DataColumn("s_Name", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_Name);
                this.columns_Age = new System.Data.DataColumn("s_Age", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_Age);
                this.columnY_Number = new System.Data.DataColumn("Y_Number", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnY_Number);
                this.Constraints.Add(new System.Data.UniqueConstraint("Dataset1Key1", new System.Data.DataColumn[] {
                                this.columns_Number}, true));
                this.columns_ID.AutoIncrement = true;
                this.columns_ID.AllowDBNull = false;
                this.columns_ID.ReadOnly = true;
                this.columns_Number.AllowDBNull = false;
                this.columns_Number.Unique = true;
                this.columns_Name.AllowDBNull = false;
                this.columns_Age.AllowDBNull = false;
                this.columnY_Number.AllowDBNull = false;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public StudRow NewStudRow() {
                return ((StudRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new StudRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(StudRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.StudRowChanged != null)) {
                    this.StudRowChanged(this, new StudRowChangeEvent(((StudRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.StudRowChanging != null)) {
                    this.StudRowChanging(this, new StudRowChangeEvent(((StudRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.StudRowDeleted != null)) {
                    this.StudRowDeleted(this, new StudRowChangeEvent(((StudRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.StudRowDeleting != null)) {
                    this.StudRowDeleting(this, new StudRowChangeEvent(((StudRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveStudRow(StudRow 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();
                Dataset1 ds = new Dataset1();
                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 = "StudDataTable";
                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 YuanxiDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnY_ID;
            
            private System.Data.DataColumn columnY_Number;
            
            private System.Data.DataColumn columnY_Name;
            
            private System.Data.DataColumn columnY_Head;
            
            private System.Data.DataColumn columnY_Des;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public YuanxiDataTable() {
                this.TableName = "Yuanxi";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal YuanxiDataTable(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 YuanxiDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Y_IDColumn {
                get {
                    return this.columnY_ID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Y_NumberColumn {
                get {
                    return this.columnY_Number;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Y_NameColumn {
                get {
                    return this.columnY_Name;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Y_HeadColumn {
                get {
                    return this.columnY_Head;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Y_DesColumn {
                get {
                    return this.columnY_Des;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public YuanxiRow this[int index] {
                get {
                    return ((YuanxiRow)(this.Rows[index]));
                }
            }
            
            public event YuanxiRowChangeEventHandler YuanxiRowChanging;
            
            public event YuanxiRowChangeEventHandler YuanxiRowChanged;
            
            public event YuanxiRowChangeEventHandler YuanxiRowDeleting;
            
            public event YuanxiRowChangeEventHandler YuanxiRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddYuanxiRow(YuanxiRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public YuanxiRow AddYuanxiRow(int Y_Number, string Y_Name, string Y_Head, string Y_Des) {
                YuanxiRow rowYuanxiRow = ((YuanxiRow)(this.NewRow()));
                rowYuanxiRow.ItemArray = new object[] {
                        null,
                        Y_Number,
                        Y_Name,
                        Y_Head,
                        Y_Des};
                this.Rows.Add(rowYuanxiRow);
                return rowYuanxiRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public YuanxiRow FindByY_Number(int Y_Number) {
                return ((YuanxiRow)(this.Rows.Find(new object[] {
                            Y_Number})));
            }
            
            [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 + -