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

📄 dataset1.designer.vb

📁 VB与ACCESS数据库制作的的注册登陆查询系统
💻 VB
📖 第 1 页 / 共 3 页
字号:
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Default ReadOnly Property Item(ByVal index As Integer) As yonghuRow
            Get
                Return CType(Me.Rows(index),yonghuRow)
            End Get
        End Property
        
        Public Event yonghuRowChanging As yonghuRowChangeEventHandler
        
        Public Event yonghuRowChanged As yonghuRowChangeEventHandler
        
        Public Event yonghuRowDeleting As yonghuRowChangeEventHandler
        
        Public Event yonghuRowDeleted As yonghuRowChangeEventHandler
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overloads Sub AddyonghuRow(ByVal row As yonghuRow)
            Me.Rows.Add(row)
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overloads Function AddyonghuRow(ByVal name As String, ByVal pass As String) As yonghuRow
            Dim rowyonghuRow As yonghuRow = CType(Me.NewRow,yonghuRow)
            rowyonghuRow.ItemArray = New Object() {name, pass}
            Me.Rows.Add(rowyonghuRow)
            Return rowyonghuRow
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Function FindByname(ByVal name As String) As yonghuRow
            Return CType(Me.Rows.Find(New Object() {name}),yonghuRow)
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overridable Function GetEnumerator() As System.Collections.IEnumerator Implements System.Collections.IEnumerable.GetEnumerator
            Return Me.Rows.GetEnumerator
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overrides Function Clone() As System.Data.DataTable
            Dim cln As yonghuDataTable = CType(MyBase.Clone,yonghuDataTable)
            cln.InitVars
            Return cln
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Function CreateInstance() As System.Data.DataTable
            Return New yonghuDataTable
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Friend Sub InitVars()
            Me.columnname = MyBase.Columns("name")
            Me.columnpass = MyBase.Columns("pass")
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Private Sub InitClass()
            Me.columnname = New System.Data.DataColumn("name", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnname)
            Me.columnpass = New System.Data.DataColumn("pass", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnpass)
            Me.Constraints.Add(New System.Data.UniqueConstraint("Constraint1", New System.Data.DataColumn() {Me.columnname}, true))
            Me.columnname.AllowDBNull = false
            Me.columnname.Unique = true
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Function NewyonghuRow() As yonghuRow
            Return CType(Me.NewRow,yonghuRow)
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Function NewRowFromBuilder(ByVal builder As System.Data.DataRowBuilder) As System.Data.DataRow
            Return New yonghuRow(builder)
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Function GetRowType() As System.Type
            Return GetType(yonghuRow)
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Sub OnRowChanged(ByVal e As System.Data.DataRowChangeEventArgs)
            MyBase.OnRowChanged(e)
            If (Not (Me.yonghuRowChangedEvent) Is Nothing) Then
                RaiseEvent yonghuRowChanged(Me, New yonghuRowChangeEvent(CType(e.Row,yonghuRow), e.Action))
            End If
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Sub OnRowChanging(ByVal e As System.Data.DataRowChangeEventArgs)
            MyBase.OnRowChanging(e)
            If (Not (Me.yonghuRowChangingEvent) Is Nothing) Then
                RaiseEvent yonghuRowChanging(Me, New yonghuRowChangeEvent(CType(e.Row,yonghuRow), e.Action))
            End If
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Sub OnRowDeleted(ByVal e As System.Data.DataRowChangeEventArgs)
            MyBase.OnRowDeleted(e)
            If (Not (Me.yonghuRowDeletedEvent) Is Nothing) Then
                RaiseEvent yonghuRowDeleted(Me, New yonghuRowChangeEvent(CType(e.Row,yonghuRow), e.Action))
            End If
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Sub OnRowDeleting(ByVal e As System.Data.DataRowChangeEventArgs)
            MyBase.OnRowDeleting(e)
            If (Not (Me.yonghuRowDeletingEvent) Is Nothing) Then
                RaiseEvent yonghuRowDeleting(Me, New yonghuRowChangeEvent(CType(e.Row,yonghuRow), e.Action))
            End If
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Sub RemoveyonghuRow(ByVal row As yonghuRow)
            Me.Rows.Remove(row)
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Shared Function GetTypedTableSchema(ByVal xs As System.Xml.Schema.XmlSchemaSet) As System.Xml.Schema.XmlSchemaComplexType
            Dim type As System.Xml.Schema.XmlSchemaComplexType = New System.Xml.Schema.XmlSchemaComplexType
            Dim sequence As System.Xml.Schema.XmlSchemaSequence = New System.Xml.Schema.XmlSchemaSequence
            Dim ds As DataSet1 = New DataSet1
            xs.Add(ds.GetSchemaSerializable)
            Dim any1 As System.Xml.Schema.XmlSchemaAny = 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)
            Dim any2 As System.Xml.Schema.XmlSchemaAny = 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)
            Dim attribute1 As System.Xml.Schema.XmlSchemaAttribute = New System.Xml.Schema.XmlSchemaAttribute
            attribute1.Name = "namespace"
            attribute1.FixedValue = ds.Namespace
            type.Attributes.Add(attribute1)
            Dim attribute2 As System.Xml.Schema.XmlSchemaAttribute = New System.Xml.Schema.XmlSchemaAttribute
            attribute2.Name = "tableTypeName"
            attribute2.FixedValue = "yonghuDataTable"
            type.Attributes.Add(attribute2)
            type.Particle = sequence
            Return type
        End Function
    End Class
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"),  _
     System.Serializable(),  _
     System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")>  _
    Partial Public Class _123DataTable
        Inherits System.Data.DataTable
        Implements System.Collections.IEnumerable
        
        Private column班级 As System.Data.DataColumn
        
        Private column年龄 As System.Data.DataColumn
        
        Private column姓名 As System.Data.DataColumn
        
        Private column学号 As System.Data.DataColumn
        
        Private column职务 As System.Data.DataColumn
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Sub New()
            MyBase.New
            Me.TableName = "123"
            Me.BeginInit
            Me.InitClass
            Me.EndInit
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Friend Sub New(ByVal table As System.Data.DataTable)
            MyBase.New
            Me.TableName = table.TableName
            If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
                Me.CaseSensitive = table.CaseSensitive
            End If
            If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
                Me.Locale = table.Locale
            End If
            If (table.Namespace <> table.DataSet.Namespace) Then
                Me.Namespace = table.Namespace
            End If
            Me.Prefix = table.Prefix
            Me.MinimumCapacity = table.MinimumCapacity
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Sub New(ByVal info As System.Runtime.Serialization.SerializationInfo, ByVal context As System.Runtime.Serialization.StreamingContext)
            MyBase.New(info, context)
            Me.InitVars
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public ReadOnly Property 班级Column() As System.Data.DataColumn
            Get
                Return Me.column班级
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public ReadOnly Property 年龄Column() As System.Data.DataColumn
            Get
                Return Me.column年龄
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public ReadOnly Property 姓名Column() As System.Data.DataColumn
            Get
                Return Me.column姓名
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public ReadOnly Property 学号Column() As System.Data.DataColumn
            Get
                Return Me.column学号
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public ReadOnly Property 职务Column() As System.Data.DataColumn
            Get
                Return Me.column职务
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
         System.ComponentModel.Browsable(false)>  _
        Public ReadOnly Property Count() As Integer
            Get
                Return Me.Rows.Count
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Default ReadOnly Property Item(ByVal index As Integer) As _123Row
            Get
                Return CType(Me.Rows(index),_123Row)
            End Get
        End Property
        
        Public Event _123RowChanging As _123RowChangeEventHandler
        
        Public Event _123RowChanged As _123RowChangeEventHandler
        
        Public Event _123RowDeleting As _123RowChangeEventHandler
        
        Public Event _123RowDeleted As _123RowChangeEventHandler
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overloads Sub Add_123Row(ByVal row As _123Row)
            Me.Rows.Add(row)
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overloads Function Add_123Row(ByVal 班级 As String, ByVal 年龄 As String, ByVal 姓名 As String, ByVal 学号 As String, ByVal 职务 As String) As _123Row
            Dim row_123Row As _123Row = CType(Me.NewRow,_123Row)
            row_123Row.ItemArray = New Object() {班级, 年龄, 姓名, 学号, 职务}
            Me.Rows.Add(row_123Row)
            Return row_123Row
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Function FindBy学号(ByVal 学号 As String) As _123Row
            Return CType(Me.Rows.Find(New Object() {学号}),_123Row)
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overridable Function GetEnumerator() As System.Collections.IEnumerator Implements System.Collections.IEnumerable.GetEnumerator
            Return Me.Rows.GetEnumerator
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overrides Function Clone() As System.Data.DataTable
            Dim cln As _123DataTable = CType(MyBase.Clone,_123DataTable)
            cln.InitVars
            Return cln
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Function CreateInstance() As System.Data.DataTable
            Return New _123DataTable
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Friend Sub InitVars()
            Me.column班级 = MyBase.Columns("班级")
            Me.column年龄 = MyBase.Columns("年龄")
            Me.column姓名 = MyBase.Columns("姓名")
            Me.column学号 = MyBase.Columns("学号")
            Me.column职务 = MyBase.Columns("职务")
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Private Sub InitClass()
            Me.column班级 = New System.Data.DataColumn("班级", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.column班级)
            Me.column年龄 = New System.Data.DataColumn("年龄", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.column年龄)
            Me.column姓名 = New System.Data.DataColumn("姓名", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.column姓名)
            Me.column学号 = New System.Data.DataColumn("学号", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.column学号)
            Me.column职务 = New System.Data.DataColumn("职务", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.column职务)
            Me.Constraints.Add(New System.Data.UniqueConstraint("Constraint1", New System.Data.DataColumn() {Me.column学号}, true))
            Me.column学号.AllowDBNull = false
            Me.column学号.Unique = true

⌨️ 快捷键说明

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