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

📄 studentsdataset.designer.cs

📁 本压缩包包括了VC++基础例子编程,可以为您提供方便.
💻 CS
📖 第 1 页 / 共 5 页
字号:
            
            private System.Data.DataColumn column性别;
            
            private System.Data.DataColumn column班级;
            
            private System.Data.DataColumn column数学;
            
            private System.Data.DataColumn column语文;
            
            private System.Data.DataColumn column英语;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 学生成绩DataTable() {
                this.TableName = "学生成绩";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal 学生成绩DataTable(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 学生成绩DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 学号Column {
                get {
                    return this.column学号;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 姓名Column {
                get {
                    return this.column姓名;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 性别Column {
                get {
                    return this.column性别;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 班级Column {
                get {
                    return this.column班级;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 数学Column {
                get {
                    return this.column数学;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 语文Column {
                get {
                    return this.column语文;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 英语Column {
                get {
                    return this.column英语;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [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;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Add学生成绩Row(学生成绩Row row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 学生成绩Row Add学生成绩Row(string 学号, string 姓名, string 性别, string 班级, short 数学, short 语文, short 英语) {
                学生成绩Row row学生成绩Row = ((学生成绩Row)(this.NewRow()));
                row学生成绩Row.ItemArray = new object[] {
                        学号,
                        姓名,
                        性别,
                        班级,
                        数学,
                        语文,
                        英语};
                this.Rows.Add(row学生成绩Row);
                return row学生成绩Row;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 学生成绩Row FindBy学号(string 学号) {
                return ((学生成绩Row)(this.Rows.Find(new object[] {
                            学号})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                学生成绩DataTable cln = ((学生成绩DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new 学生成绩DataTable();
            }
            
            [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["英语"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column学号 = new System.Data.DataColumn("学号", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column学号);
                this.column姓名 = new System.Data.DataColumn("姓名", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column姓名);
                this.column性别 = new System.Data.DataColumn("性别", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column性别);
                this.column班级 = new System.Data.DataColumn("班级", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column班级);
                this.column数学 = new System.Data.DataColumn("数学", typeof(short), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column数学);
                this.column语文 = new System.Data.DataColumn("语文", typeof(short), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column语文);
                this.column英语 = new System.Data.DataColumn("英语", typeof(short), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column英语);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.column学号}, true));
                this.column学号.AllowDBNull = false;
                this.column学号.Unique = true;
                this.column学号.MaxLength = 8;
                this.column姓名.MaxLength = 6;
                this.column性别.MaxLength = 2;
                this.column班级.MaxLength = 12;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 学生成绩Row New学生成绩Row() {
                return ((学生成绩Row)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new 学生成绩Row(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(学生成绩Row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.学生成绩RowChanged != null)) {
                    this.学生成绩RowChanged(this, new 学生成绩RowChangeEvent(((学生成绩Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.学生成绩RowChanging != null)) {
                    this.学生成绩RowChanging(this, new 学生成绩RowChangeEvent(((学生成绩Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.学生成绩RowDeleted != null)) {
                    this.学生成绩RowDeleted(this, new 学生成绩RowChangeEvent(((学生成绩Row)(e.Row)), e.Action));

⌨️ 快捷键说明

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