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

📄 datedataset.designer.cs

📁 论文 源码 全有 绝对是好东西 大家来
💻 CS
📖 第 1 页 / 共 5 页
字号:
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal studentsDataTable(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 studentsDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn student_idColumn {
                get {
                    return this.columnstudent_id;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn student_numColumn {
                get {
                    return this.columnstudent_num;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn student_nameColumn {
                get {
                    return this.columnstudent_name;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn student_sexColumn {
                get {
                    return this.columnstudent_sex;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn birthdateColumn {
                get {
                    return this.columnbirthdate;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn departmentColumn {
                get {
                    return this.columndepartment;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn specialityColumn {
                get {
                    return this.columnspeciality;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn gradeColumn {
                get {
                    return this.columngrade;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn classColumn {
                get {
                    return this.columnclass;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn home_addrColumn {
                get {
                    return this.columnhome_addr;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn parent_nameColumn {
                get {
                    return this.columnparent_name;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn home_phoneColumn {
                get {
                    return this.columnhome_phone;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn remarkColumn {
                get {
                    return this.columnremark;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public studentsRow this[int index] {
                get {
                    return ((studentsRow)(this.Rows[index]));
                }
            }
            
            public event studentsRowChangeEventHandler studentsRowChanging;
            
            public event studentsRowChangeEventHandler studentsRowChanged;
            
            public event studentsRowChangeEventHandler studentsRowDeleting;
            
            public event studentsRowChangeEventHandler studentsRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddstudentsRow(studentsRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public studentsRow AddstudentsRow(string student_num, string student_name, string student_sex, string birthdate, string department, string speciality, string grade, string _class, string home_addr, string parent_name, string home_phone, string remark) {
                studentsRow rowstudentsRow = ((studentsRow)(this.NewRow()));
                rowstudentsRow.ItemArray = new object[] {
                        null,
                        student_num,
                        student_name,
                        student_sex,
                        birthdate,
                        department,
                        speciality,
                        grade,
                        _class,
                        home_addr,
                        parent_name,
                        home_phone,
                        remark};
                this.Rows.Add(rowstudentsRow);
                return rowstudentsRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public studentsRow FindBystudent_id(int student_id) {
                return ((studentsRow)(this.Rows.Find(new object[] {
                            student_id})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                studentsDataTable cln = ((studentsDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new studentsDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnstudent_id = base.Columns["student_id"];
                this.columnstudent_num = base.Columns["student_num"];
                this.columnstudent_name = base.Columns["student_name"];
                this.columnstudent_sex = base.Columns["student_sex"];
                this.columnbirthdate = base.Columns["birthdate"];
                this.columndepartment = base.Columns["department"];
                this.columnspeciality = base.Columns["speciality"];
                this.columngrade = base.Columns["grade"];
                this.columnclass = base.Columns["class"];
                this.columnhome_addr = base.Columns["home_addr"];
                this.columnparent_name = base.Columns["parent_name"];
                this.columnhome_phone = base.Columns["home_phone"];
                this.columnremark = base.Columns["remark"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnstudent_id = new System.Data.DataColumn("student_id", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnstudent_id);
                this.columnstudent_num = new System.Data.DataColumn("student_num", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnstudent_num);
                this.columnstudent_name = new System.Data.DataColumn("student_name", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnstudent_name);
                this.columnstudent_sex = new System.Data.DataColumn("student_sex", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnstudent_sex);
                this.columnbirthdate = new System.Data.DataColumn("birthdate", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbirthdate);
                this.columndepartment = new System.Data.DataColumn("department", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columndepartment);
                this.columnspeciality = new System.Data.DataColumn("speciality", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnspeciality);
                this.columngrade = new System.Data.DataColumn("grade", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columngrade);
                this.columnclass = new System.Data.DataColumn("class", typeof(string), null, System.Data.MappingType.Element);
                this.columnclass.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_class");
                this.columnclass.ExtendedProperties.Add("Generator_UserColumnName", "class");
                base.Columns.Add(this.columnclass);
                this.columnhome_addr = new System.Data.DataColumn("home_addr", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnhome_addr);
                this.columnparent_name = new System.Data.DataColumn("parent_name", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnparent_name);
                this.columnhome_phone = new System.Data.DataColumn("home_phone", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnhome_phone);
                this.columnremark = new System.Data.DataColumn("remark", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnremark);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnstudent_id}, true));
                this.columnstudent_id.AutoIncrement = true;
                this.columnstudent_id.AllowDBNull = false;
                this.columnstudent_id.Unique = true;
                this.columnstudent_num.MaxLength = 50;
                this.columnstudent_name.MaxLength = 50;
                this.columnstudent_sex.MaxLength = 50;
                this.columnbirthdate.MaxLength = 50;
                this.columndepartment.MaxLength = 50;
                this.columnspeciality.MaxLength = 50;
                this.columngrade.MaxLength = 50;
                this.columnclass.MaxLength = 50;
                this.columnhome_addr.MaxLength = 50;
                this.columnparent_name.MaxLength = 50;
                this.columnhome_phone.MaxLength = 50;
                this.columnremark.MaxLength = 50;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public studentsRow NewstudentsRow() {
                return ((studentsRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new studentsRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(studentsRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.studentsRowChanged != null)) {
                    this.studentsRowChanged(this, new studentsRowChangeEvent(((studentsRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.studentsRowChanging != null)) {
                    this.studentsRowChanging(this, new studentsRowChangeEvent(((studentsRow)(e.Row)), e.Action));
                }
            }
            

⌨️ 快捷键说明

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