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

📄 misdataset.designer.cs

📁 一个CSharp写的小型信息系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
                this.columnc_id = new System.Data.DataColumn("c_id", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnc_id);
                this.columnscore = new System.Data.DataColumn("score", typeof(decimal), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnscore);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columns_id,
                                this.columnc_id}, true));
                this.columns_id.AllowDBNull = false;
                this.columnc_id.AllowDBNull = false;
                this.columnscore.AllowDBNull = false;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_courseRow Newstudent_courseRow() {
                return ((student_courseRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new student_courseRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(student_courseRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.student_courseRowChanged != null)) {
                    this.student_courseRowChanged(this, new student_courseRowChangeEvent(((student_courseRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.student_courseRowChanging != null)) {
                    this.student_courseRowChanging(this, new student_courseRowChangeEvent(((student_courseRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.student_courseRowDeleted != null)) {
                    this.student_courseRowDeleted(this, new student_courseRowChangeEvent(((student_courseRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.student_courseRowDeleting != null)) {
                    this.student_courseRowDeleting(this, new student_courseRowChangeEvent(((student_courseRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Removestudent_courseRow(student_courseRow 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();
                misDataSet ds = new misDataSet();
                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 = "student_courseDataTable";
                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 student_infoDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columns_id;
            
            private System.Data.DataColumn columntype;
            
            private System.Data.DataColumn columntime;
            
            private System.Data.DataColumn columncuase;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_infoDataTable() {
                this.TableName = "student_info";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal student_infoDataTable(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 student_infoDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn s_idColumn {
                get {
                    return this.columns_id;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn typeColumn {
                get {
                    return this.columntype;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn timeColumn {
                get {
                    return this.columntime;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn cuaseColumn {
                get {
                    return this.columncuase;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_infoRow this[int index] {
                get {
                    return ((student_infoRow)(this.Rows[index]));
                }
            }
            
            public event student_infoRowChangeEventHandler student_infoRowChanging;
            
            public event student_infoRowChangeEventHandler student_infoRowChanged;
            
            public event student_infoRowChangeEventHandler student_infoRowDeleting;
            
            public event student_infoRowChangeEventHandler student_infoRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Addstudent_infoRow(student_infoRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_infoRow Addstudent_infoRow(int s_id, bool type, System.DateTime time, string cuase) {
                student_infoRow rowstudent_infoRow = ((student_infoRow)(this.NewRow()));
                rowstudent_infoRow.ItemArray = new object[] {
                        s_id,
                        type,
                        time,
                        cuase};
                this.Rows.Add(rowstudent_infoRow);
                return rowstudent_infoRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_infoRow FindBys_id(int s_id) {
                return ((student_infoRow)(this.Rows.Find(new object[] {
                            s_id})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                student_infoDataTable cln = ((student_infoDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new student_infoDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columns_id = base.Columns["s_id"];
                this.columntype = base.Columns["type"];
                this.columntime = base.Columns["time"];
                this.columncuase = base.Columns["cuase"];
            }
            
            [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.columntype = new System.Data.DataColumn("type", typeof(bool), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columntype);
                this.columntime = new System.Data.DataColumn("time", typeof(System.DateTime), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columntime);
                this.columncuase = new System.Data.DataColumn("cuase", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columncuase);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columns_id}, true));
                this.columns_id.AllowDBNull = false;
                this.columns_id.Unique = true;
                this.columntype.AllowDBNull = false;
                this.columntime.AllowDBNull = false;
                this.columncuase.AllowDBNull = false;
                this.columncuase.MaxLength = 2147483647;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_infoRow Newstudent_infoRow() {
                return ((student_infoRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new student_infoRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(student_infoRow);
            }
            
            [System.Diagnostics.DebuggerNonUse

⌨️ 快捷键说明

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