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

📄 dataset1.designer.cs

📁 简单的学生成绩管理系统。实现学生成绩学号管理
💻 CS
📖 第 1 页 / 共 5 页
字号:
            
            [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 性别, int 年级, string 政治面貌编号, string 民族编号, string 籍贯编号, string 身份证号, 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["政治面貌编号"];
                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(int), 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(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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.column学号}, true));
                this.column学号.AllowDBNull = false;
                this.column学号.Unique = true;
                this.column民族编号.AllowDBNull = false;
                this.column籍贯编号.AllowDBNull = false;
                this.column学籍编号.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 学生信息Row New学生信息Row() {
                return ((学生信息Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new 学生信息Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(学生信息Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.学生信息RowChanged != null)) {
                    this.学生信息RowChanged(this, new 学生信息RowChangeEvent(((学生信息Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.学生信息RowChanging != null)) {
                    this.学生信息RowChanging(this, new 学生信息RowChangeEvent(((学生信息Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.学生信息RowDeleted != null)) {
                    this.学生信息RowDeleted(this, new 学生信息RowChangeEvent(((学生信息Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.学生信息RowDeleting != null)) {
                    this.学生信息RowDeleting(this, new 学生信息RowChangeEvent(((学生信息Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Remove学生信息Row(学生信息Row row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                DataSet1 ds = new DataSet1();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "学生信息DataTable";
                type.Attributes.Add(attribute2);
                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;
            }
        }
        
        /// <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教师;
            
            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();

⌨️ 快捷键说明

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