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

📄 book_libarydataset1.designer.cs

📁 图书管管理,输入学生的编号可显示学生的借书情况
💻 CS
📖 第 1 页 / 共 5 页
字号:
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnbookID = new System.Data.DataColumn("bookID", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbookID);
                this.columnbookname = new System.Data.DataColumn("bookname", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbookname);
                this.columnbookwriter = new System.Data.DataColumn("bookwriter", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbookwriter);
                this.columnbookpublish = new System.Data.DataColumn("bookpublish", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbookpublish);
                this.columnbookpublishdate = new System.Data.DataColumn("bookpublishdate", typeof(System.DateTime), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbookpublishdate);
                this.columnbookprice = new System.Data.DataColumn("bookprice", typeof(double), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbookprice);
                this.columnbooksort = new System.Data.DataColumn("booksort", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbooksort);
                this.columnbookamount = new System.Data.DataColumn("bookamount", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbookamount);
                this.columnbokkremain = new System.Data.DataColumn("bokkremain", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbokkremain);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnbookID}, true));
                this.columnbookID.AllowDBNull = false;
                this.columnbookID.Unique = true;
                this.columnbookID.MaxLength = 10;
                this.columnbookname.MaxLength = 30;
                this.columnbookwriter.MaxLength = 20;
                this.columnbookpublish.MaxLength = 50;
                this.columnbooksort.MaxLength = 20;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bookRow NewbookRow() {
                return ((bookRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new bookRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(bookRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.bookRowChanged != null)) {
                    this.bookRowChanged(this, new bookRowChangeEvent(((bookRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.bookRowChanging != null)) {
                    this.bookRowChanging(this, new bookRowChangeEvent(((bookRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.bookRowDeleted != null)) {
                    this.bookRowDeleted(this, new bookRowChangeEvent(((bookRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.bookRowDeleting != null)) {
                    this.bookRowDeleting(this, new bookRowChangeEvent(((bookRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovebookRow(bookRow 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();
                book_libaryDataSet1 ds = new book_libaryDataSet1();
                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 = "bookDataTable";
                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 borrowbookDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnreaderID;
            
            private System.Data.DataColumn columnbookID;
            
            private System.Data.DataColumn columnborrowdate;
            
            private System.Data.DataColumn columnreturndate;
            
            private System.Data.DataColumn columnfactreturndate;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public borrowbookDataTable() {
                this.TableName = "borrowbook";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal borrowbookDataTable(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 borrowbookDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn readerIDColumn {
                get {
                    return this.columnreaderID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn bookIDColumn {
                get {
                    return this.columnbookID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn borrowdateColumn {
                get {
                    return this.columnborrowdate;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn returndateColumn {
                get {
                    return this.columnreturndate;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn factreturndateColumn {
                get {
                    return this.columnfactreturndate;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public borrowbookRow this[int index] {
                get {
                    return ((borrowbookRow)(this.Rows[index]));
                }
            }
            
            public event borrowbookRowChangeEventHandler borrowbookRowChanging;
            
            public event borrowbookRowChangeEventHandler borrowbookRowChanged;
            
            public event borrowbookRowChangeEventHandler borrowbookRowDeleting;
            
            public event borrowbookRowChangeEventHandler borrowbookRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddborrowbookRow(borrowbookRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public borrowbookRow AddborrowbookRow(string readerID, string bookID, System.DateTime borrowdate, System.DateTime returndate, System.DateTime factreturndate) {
                borrowbookRow rowborrowbookRow = ((borrowbookRow)(this.NewRow()));
                rowborrowbookRow.ItemArray = new object[] {
                        readerID,
                        bookID,
                        borrowdate,
                        returndate,
                        factreturndate};
                this.Rows.Add(rowborrowbookRow);
                return rowborrowbookRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                borrowbookDataTable cln = ((borrowbookDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new borrowbookDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnreaderID = base.Columns["readerID"];
                this.columnbookID = base.Columns["bookID"];
                this.columnborrowdate = base.Columns["borrowdate"];
                this.columnreturndate = base.Columns["returndate"];
                this.columnfactreturndate = base.Columns["factreturndate"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnreaderID = new System.Data.DataColumn("readerID", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnreaderID);
                this.columnbookID = new System.Data.DataColumn("bookID", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnbookID);
                this.columnborrowdate = new System.Data.DataColumn("borrowdate", typeof(System.DateTime), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnborrowdate);
                this.columnreturndate = new System.Data.DataColumn("returndate", typeof(System.DateTime), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnreturndate);
                this.columnfactreturndate = new System.Data.DataColumn("factreturndate", typeof(System.DateTime), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnfactreturndate);
                this.columnreaderID.AllowDBNull = false;

⌨️ 快捷键说明

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