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

📄 dataset1.cs

📁 用Visual C#.net开发企业材料采购管理系统数据库使用的是SqlServer2000
💻 CS
📖 第 1 页 / 共 2 页
字号:
                this.columnremark = this.Columns["remark"];
                this.columnrptDate = this.Columns["rptDate"];
            }
            
            private void InitClass() {
                this.columnid = new DataColumn("id", typeof(int), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnid);
                this.columnprovider = new DataColumn("provider", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnprovider);
                this.columngoods = new DataColumn("goods", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columngoods);
                this.columnaccount = new DataColumn("account", typeof(System.Single), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnaccount);
                this.columnpayment = new DataColumn("payment", typeof(System.Single), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnpayment);
                this.columnpayment1 = new DataColumn("payment1", typeof(System.Single), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnpayment1);
                this.columnremark = new DataColumn("remark", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnremark);
                this.columnrptDate = new DataColumn("rptDate", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnrptDate);
            }
            
            public list_printRow Newlist_printRow() {
                return ((list_printRow)(this.NewRow()));
            }
            
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
                return new list_printRow(builder);
            }
            
            protected override System.Type GetRowType() {
                return typeof(list_printRow);
            }
            
            protected override void OnRowChanged(DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.list_printRowChanged != null)) {
                    this.list_printRowChanged(this, new list_printRowChangeEvent(((list_printRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowChanging(DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.list_printRowChanging != null)) {
                    this.list_printRowChanging(this, new list_printRowChangeEvent(((list_printRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleted(DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.list_printRowDeleted != null)) {
                    this.list_printRowDeleted(this, new list_printRowChangeEvent(((list_printRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleting(DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.list_printRowDeleting != null)) {
                    this.list_printRowDeleting(this, new list_printRowChangeEvent(((list_printRow)(e.Row)), e.Action));
                }
            }
            
            public void Removelist_printRow(list_printRow row) {
                this.Rows.Remove(row);
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class list_printRow : DataRow {
            
            private list_printDataTable tablelist_print;
            
            internal list_printRow(DataRowBuilder rb) : 
                    base(rb) {
                this.tablelist_print = ((list_printDataTable)(this.Table));
            }
            
            public int id {
                get {
                    try {
                        return ((int)(this[this.tablelist_print.idColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablelist_print.idColumn] = value;
                }
            }
            
            public string provider {
                get {
                    try {
                        return ((string)(this[this.tablelist_print.providerColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablelist_print.providerColumn] = value;
                }
            }
            
            public string goods {
                get {
                    try {
                        return ((string)(this[this.tablelist_print.goodsColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablelist_print.goodsColumn] = value;
                }
            }
            
            public System.Single account {
                get {
                    try {
                        return ((System.Single)(this[this.tablelist_print.accountColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablelist_print.accountColumn] = value;
                }
            }
            
            public System.Single payment {
                get {
                    try {
                        return ((System.Single)(this[this.tablelist_print.paymentColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablelist_print.paymentColumn] = value;
                }
            }
            
            public System.Single payment1 {
                get {
                    try {
                        return ((System.Single)(this[this.tablelist_print.payment1Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablelist_print.payment1Column] = value;
                }
            }
            
            public string remark {
                get {
                    try {
                        return ((string)(this[this.tablelist_print.remarkColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablelist_print.remarkColumn] = value;
                }
            }
            
            public string rptDate {
                get {
                    try {
                        return ((string)(this[this.tablelist_print.rptDateColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tablelist_print.rptDateColumn] = value;
                }
            }
            
            public bool IsidNull() {
                return this.IsNull(this.tablelist_print.idColumn);
            }
            
            public void SetidNull() {
                this[this.tablelist_print.idColumn] = System.Convert.DBNull;
            }
            
            public bool IsproviderNull() {
                return this.IsNull(this.tablelist_print.providerColumn);
            }
            
            public void SetproviderNull() {
                this[this.tablelist_print.providerColumn] = System.Convert.DBNull;
            }
            
            public bool IsgoodsNull() {
                return this.IsNull(this.tablelist_print.goodsColumn);
            }
            
            public void SetgoodsNull() {
                this[this.tablelist_print.goodsColumn] = System.Convert.DBNull;
            }
            
            public bool IsaccountNull() {
                return this.IsNull(this.tablelist_print.accountColumn);
            }
            
            public void SetaccountNull() {
                this[this.tablelist_print.accountColumn] = System.Convert.DBNull;
            }
            
            public bool IspaymentNull() {
                return this.IsNull(this.tablelist_print.paymentColumn);
            }
            
            public void SetpaymentNull() {
                this[this.tablelist_print.paymentColumn] = System.Convert.DBNull;
            }
            
            public bool Ispayment1Null() {
                return this.IsNull(this.tablelist_print.payment1Column);
            }
            
            public void Setpayment1Null() {
                this[this.tablelist_print.payment1Column] = System.Convert.DBNull;
            }
            
            public bool IsremarkNull() {
                return this.IsNull(this.tablelist_print.remarkColumn);
            }
            
            public void SetremarkNull() {
                this[this.tablelist_print.remarkColumn] = System.Convert.DBNull;
            }
            
            public bool IsrptDateNull() {
                return this.IsNull(this.tablelist_print.rptDateColumn);
            }
            
            public void SetrptDateNull() {
                this[this.tablelist_print.rptDateColumn] = System.Convert.DBNull;
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class list_printRowChangeEvent : EventArgs {
            
            private list_printRow eventRow;
            
            private DataRowAction eventAction;
            
            public list_printRowChangeEvent(list_printRow row, DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            public list_printRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            public DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}

⌨️ 快捷键说明

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