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

📄 addresslistdataset.designer.cs

📁 Visual C#2005程序设计教程
💻 CS
📖 第 1 页 / 共 3 页
字号:
            public System.Data.DataColumn officTelColumn {
                get {
                    return this.columnofficTel;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn mobileTelColumn {
                get {
                    return this.columnmobileTel;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn emailColumn {
                get {
                    return this.columnemail;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TelRow this[int index] {
                get {
                    return ((TelRow)(this.Rows[index]));
                }
            }
            
            public event TelRowChangeEventHandler TelRowChanging;
            
            public event TelRowChangeEventHandler TelRowChanged;
            
            public event TelRowChangeEventHandler TelRowDeleting;
            
            public event TelRowChangeEventHandler TelRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddTelRow(TelRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TelRow AddTelRow(string fName, string unit, string officTel, string mobileTel, string email) {
                TelRow rowTelRow = ((TelRow)(this.NewRow()));
                rowTelRow.ItemArray = new object[] {
                        fName,
                        unit,
                        officTel,
                        mobileTel,
                        email};
                this.Rows.Add(rowTelRow);
                return rowTelRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                TelDataTable cln = ((TelDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new TelDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnfName = base.Columns["fName"];
                this.columnunit = base.Columns["unit"];
                this.columnofficTel = base.Columns["officTel"];
                this.columnmobileTel = base.Columns["mobileTel"];
                this.columnemail = base.Columns["email"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnfName = new System.Data.DataColumn("fName", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnfName);
                this.columnunit = new System.Data.DataColumn("unit", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnunit);
                this.columnofficTel = new System.Data.DataColumn("officTel", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnofficTel);
                this.columnmobileTel = new System.Data.DataColumn("mobileTel", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnmobileTel);
                this.columnemail = new System.Data.DataColumn("email", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnemail);
                this.columnfName.AllowDBNull = false;
                this.columnfName.MaxLength = 10;
                this.columnunit.MaxLength = 20;
                this.columnofficTel.MaxLength = 10;
                this.columnmobileTel.MaxLength = 11;
                this.columnemail.MaxLength = 25;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public TelRow NewTelRow() {
                return ((TelRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new TelRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(TelRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.TelRowChanged != null)) {
                    this.TelRowChanged(this, new TelRowChangeEvent(((TelRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.TelRowChanging != null)) {
                    this.TelRowChanging(this, new TelRowChangeEvent(((TelRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.TelRowDeleted != null)) {
                    this.TelRowDeleted(this, new TelRowChangeEvent(((TelRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.TelRowDeleting != null)) {
                    this.TelRowDeleting(this, new TelRowChangeEvent(((TelRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveTelRow(TelRow 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();
                addresslistDataSet ds = new addresslistDataSet();
                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 = "TelDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class TelRow : System.Data.DataRow {
            
            private TelDataTable tableTel;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal TelRow(System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableTel = ((TelDataTable)(this.Table));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string fName {
                get {
                    return ((string)(this[this.tableTel.fNameColumn]));
                }
                set {
                    this[this.tableTel.fNameColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string unit {
                get {
                    try {
                        return ((string)(this[this.tableTel.unitColumn]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“Tel”中列“unit”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableTel.unitColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string officTel {
                get {
                    try {
                        return ((string)(this[this.tableTel.officTelColumn]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“Tel”中列“officTel”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableTel.officTelColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string mobileTel {
                get {
                    try {
                        return ((string)(this[this.tableTel.mobileTelColumn]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“Tel”中列“mobileTel”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableTel.mobileTelColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string email {
                get {
                    try {
                        return ((string)(this[this.tableTel.emailColumn]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“Tel”中列“email”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableTel.emailColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsunitNull() {
                return this.IsNull(this.tableTel.unitColumn);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetunitNull() {
                this[this.tableTel.unitColumn] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

⌨️ 快捷键说明

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