mydatabasedataset.designer.cs

来自「csharp课本的源代码」· CS 代码 · 共 1,288 行 · 第 1/5 页

CS
1,288
字号
                }
                set {
                    this[this.tableSelectFilterStudents.性别Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 出生日期 {
                get {
                    try {
                        return ((System.DateTime)(this[this.tableSelectFilterStudents.出生日期Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("The value for column \'出生日期\' in table \'SelectFilterStudents\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableSelectFilterStudents.出生日期Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 学院编码 {
                get {
                    try {
                        return ((string)(this[this.tableSelectFilterStudents.学院编码Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("The value for column \'学院编码\' in table \'SelectFilterStudents\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableSelectFilterStudents.学院编码Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 成绩 {
                get {
                    try {
                        return ((int)(this[this.tableSelectFilterStudents.成绩Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("The value for column \'成绩\' in table \'SelectFilterStudents\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableSelectFilterStudents.成绩Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte[] 照片 {
                get {
                    try {
                        return ((byte[])(this[this.tableSelectFilterStudents.照片Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("The value for column \'照片\' in table \'SelectFilterStudents\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableSelectFilterStudents.照片Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is姓名Null() {
                return this.IsNull(this.tableSelectFilterStudents.姓名Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set姓名Null() {
                this[this.tableSelectFilterStudents.姓名Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is性别Null() {
                return this.IsNull(this.tableSelectFilterStudents.性别Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set性别Null() {
                this[this.tableSelectFilterStudents.性别Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is出生日期Null() {
                return this.IsNull(this.tableSelectFilterStudents.出生日期Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set出生日期Null() {
                this[this.tableSelectFilterStudents.出生日期Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is学院编码Null() {
                return this.IsNull(this.tableSelectFilterStudents.学院编码Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set学院编码Null() {
                this[this.tableSelectFilterStudents.学院编码Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is成绩Null() {
                return this.IsNull(this.tableSelectFilterStudents.成绩Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set成绩Null() {
                this[this.tableSelectFilterStudents.成绩Column] = System.Convert.DBNull;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is照片Null() {
                return this.IsNull(this.tableSelectFilterStudents.照片Column);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set照片Null() {
                this[this.tableSelectFilterStudents.照片Column] = System.Convert.DBNull;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class SelectNianJiRow : System.Data.DataRow {
            
            private SelectNianJiDataTable tableSelectNianJi;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal SelectNianJiRow(System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableSelectNianJi = ((SelectNianJiDataTable)(this.Table));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nianji {
                get {
                    try {
                        return ((string)(this[this.tableSelectNianJi.nianjiColumn]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("The value for column \'nianji\' in table \'SelectNianJi\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableSelectNianJi.nianjiColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnianjiNull() {
                return this.IsNull(this.tableSelectNianJi.nianjiColumn);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnianjiNull() {
                this[this.tableSelectNianJi.nianjiColumn] = System.Convert.DBNull;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class SelectFilterStudentsRowChangeEvent : System.EventArgs {
            
            private SelectFilterStudentsRow eventRow;
            
            private System.Data.DataRowAction eventAction;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SelectFilterStudentsRowChangeEvent(SelectFilterStudentsRow row, System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SelectFilterStudentsRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class SelectNianJiRowChangeEvent : System.EventArgs {
            
            private SelectNianJiRow eventRow;
            
            private System.Data.DataRowAction eventAction;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SelectNianJiRowChangeEvent(SelectNianJiRow row, System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SelectNianJiRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace StoreProcedureExample1.MyDatabaseDataSetTableAdapters {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.ComponentModel.ToolboxItem(true)]
    [System.ComponentModel.DataObjectAttribute(true)]
    [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class SelectFilterStudentsTableAdapter : System.ComponentModel.Component {
        
        private System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private System.Data.SqlClient.SqlConnection _connection;
        
        private System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public SelectFilterStudentsTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal System.Data.SqlClient.SqlConnection Connection {

⌨️ 快捷键说明

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