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

📄 dataset1.designer.cs

📁 用C#实现超市的管理
💻 CS
📖 第 1 页 / 共 5 页
字号:
                this.column总金额.AllowDBNull = false;
                this.column商品编号.AllowDBNull = false;
                this.column商品编号.Unique = true;
                this.column商品编号.MaxLength = 50;
                this.column生产厂商.AllowDBNull = false;
                this.column生产厂商.MaxLength = 50;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NewTianjspRow NewNewTianjspRow() {
                return ((NewTianjspRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new NewTianjspRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(NewTianjspRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.NewTianjspRowChanged != null)) {
                    this.NewTianjspRowChanged(this, new NewTianjspRowChangeEvent(((NewTianjspRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.NewTianjspRowChanging != null)) {
                    this.NewTianjspRowChanging(this, new NewTianjspRowChangeEvent(((NewTianjspRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.NewTianjspRowDeleted != null)) {
                    this.NewTianjspRowDeleted(this, new NewTianjspRowChangeEvent(((NewTianjspRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.NewTianjspRowDeleting != null)) {
                    this.NewTianjspRowDeleting(this, new NewTianjspRowChangeEvent(((NewTianjspRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveNewTianjspRow(NewTianjspRow 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();
                DataSet1 ds = new DataSet1();
                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 = "NewTianjspDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class NewTianjspRow : System.Data.DataRow {
            
            private NewTianjspDataTable tableNewTianjsp;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal NewTianjspRow(System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableNewTianjsp = ((NewTianjspDataTable)(this.Table));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 商品名称 {
                get {
                    return ((string)(this[this.tableNewTianjsp.商品名称Column]));
                }
                set {
                    this[this.tableNewTianjsp.商品名称Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 单位 {
                get {
                    return ((string)(this[this.tableNewTianjsp.单位Column]));
                }
                set {
                    this[this.tableNewTianjsp.单位Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 规格型号 {
                get {
                    return ((string)(this[this.tableNewTianjsp.规格型号Column]));
                }
                set {
                    this[this.tableNewTianjsp.规格型号Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 颜色 {
                get {
                    return ((string)(this[this.tableNewTianjsp.颜色Column]));
                }
                set {
                    this[this.tableNewTianjsp.颜色Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double 单价 {
                get {
                    return ((double)(this[this.tableNewTianjsp.单价Column]));
                }
                set {
                    this[this.tableNewTianjsp.单价Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 数量 {
                get {
                    return ((int)(this[this.tableNewTianjsp.数量Column]));
                }
                set {
                    this[this.tableNewTianjsp.数量Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double 总金额 {
                get {
                    return ((double)(this[this.tableNewTianjsp.总金额Column]));
                }
                set {
                    this[this.tableNewTianjsp.总金额Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 商品编号 {
                get {
                    return ((string)(this[this.tableNewTianjsp.商品编号Column]));
                }
                set {
                    this[this.tableNewTianjsp.商品编号Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 生产厂商 {
                get {
                    return ((string)(this[this.tableNewTianjsp.生产厂商Column]));
                }
                set {
                    this[this.tableNewTianjsp.生产厂商Column] = value;
                }
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class NewTianjspRowChangeEvent : System.EventArgs {
            
            private NewTianjspRow eventRow;
            
            private System.Data.DataRowAction eventAction;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NewTianjspRowChangeEvent(NewTianjspRow row, System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NewTianjspRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace Myproject.DataSet1TableAdapters {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]

⌨️ 快捷键说明

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