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

📄 dataset1.designer.cs

📁 简单的学生成绩管理系统。实现学生成绩学号管理
💻 CS
📖 第 1 页 / 共 5 页
字号:
        private bool ShouldSerialize学生信息() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerialize课程信息() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
            DataSet1 ds = new DataSet1();
            global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
            global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
            global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
            if (xs.Contains(dsSchema.TargetNamespace)) {
                global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                try {
                    global::System.Xml.Schema.XmlSchema schema = null;
                    dsSchema.Write(s1);
                    for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                        schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                        s2.SetLength(0);
                        schema.Write(s2);
                        if ((s1.Length == s2.Length)) {
                            s1.Position = 0;
                            s2.Position = 0;
                            for (; ((s1.Position != s1.Length) 
                                        && (s1.ReadByte() == s2.ReadByte())); ) {
                                ;
                            }
                            if ((s1.Position == s1.Length)) {
                                return type;
                            }
                        }
                    }
                }
                finally {
                    if ((s1 != null)) {
                        s1.Close();
                    }
                    if ((s2 != null)) {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return type;
        }
        
        public delegate void 班级信息RowChangeEventHandler(object sender, 班级信息RowChangeEvent e);
        
        public delegate void 学生信息RowChangeEventHandler(object sender, 学生信息RowChangeEvent e);
        
        public delegate void 课程信息RowChangeEventHandler(object sender, 课程信息RowChangeEvent e);
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class 班级信息DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn column班级编号;
            
            private global::System.Data.DataColumn column年级;
            
            private global::System.Data.DataColumn column班级名称;
            
            private global::System.Data.DataColumn column班级简称;
            
            private global::System.Data.DataColumn column人数;
            
            private global::System.Data.DataColumn column班主任;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 班级信息DataTable() {
                this.TableName = "班级信息";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal 班级信息DataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected 班级信息DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 班级编号Column {
                get {
                    return this.column班级编号;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 年级Column {
                get {
                    return this.column年级;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 班级名称Column {
                get {
                    return this.column班级名称;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 班级简称Column {
                get {
                    return this.column班级简称;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 人数Column {
                get {
                    return this.column人数;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 班主任Column {
                get {
                    return this.column班主任;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 班级信息Row this[int index] {
                get {
                    return ((班级信息Row)(this.Rows[index]));
                }
            }
            
            public event 班级信息RowChangeEventHandler 班级信息RowChanging;
            
            public event 班级信息RowChangeEventHandler 班级信息RowChanged;
            
            public event 班级信息RowChangeEventHandler 班级信息RowDeleting;
            
            public event 班级信息RowChangeEventHandler 班级信息RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Add班级信息Row(班级信息Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 班级信息Row Add班级信息Row(string 班级编号, string 年级, string 班级名称, string 班级简称, decimal 人数, string 班主任) {
                班级信息Row row班级信息Row = ((班级信息Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        班级编号,
                        年级,
                        班级名称,
                        班级简称,
                        人数,
                        班主任};
                row班级信息Row.ItemArray = columnValuesArray;
                this.Rows.Add(row班级信息Row);
                return row班级信息Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 班级信息Row FindBy班级编号(string 班级编号) {
                return ((班级信息Row)(this.Rows.Find(new object[] {
                            班级编号})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                班级信息DataTable cln = ((班级信息DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new 班级信息DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column班级编号 = base.Columns["班级编号"];
                this.column年级 = base.Columns["年级"];
                this.column班级名称 = base.Columns["班级名称"];
                this.column班级简称 = base.Columns["班级简称"];
                this.column人数 = base.Columns["人数"];
                this.column班主任 = base.Columns["班主任"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column班级编号 = new global::System.Data.DataColumn("班级编号", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column班级编号);
                this.column年级 = new global::System.Data.DataColumn("年级", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column年级);
                this.column班级名称 = new global::System.Data.DataColumn("班级名称", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column班级名称);
                this.column班级简称 = new global::System.Data.DataColumn("班级简称", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column班级简称);
                this.column人数 = new global::System.Data.DataColumn("人数", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column人数);
                this.column班主任 = new global::System.Data.DataColumn("班主任", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column班主任);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.column班级编号}, true));
                this.column班级编号.AllowDBNull = false;

⌨️ 快捷键说明

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