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

📄 修改.vb

📁 这是本人设计的一个软件
💻 VB
📖 第 1 页 / 共 2 页
字号:
Imports System.Data.SqlClient
Public Class 修改
    Inherits System.Windows.Forms.Form

    Dim mytab As New DataTable
    Dim sqlstr As String

#Region " Windows 窗体设计器生成的代码 "

    Public Sub New()
        MyBase.New()

        '该调用是 Windows 窗体设计器所必需的。
        InitializeComponent()

        '在 InitializeComponent() 调用之后添加任何初始化

    End Sub

    '窗体重写 dispose 以清理组件列表。
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Windows 窗体设计器所必需的
    Private components As System.ComponentModel.IContainer

    '注意: 以下过程是 Windows 窗体设计器所必需的
    '可以使用 Windows 窗体设计器修改此过程。
    '不要使用代码编辑器修改它。
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents cb_pay As System.Windows.Forms.ComboBox
    Friend WithEvents peop_man As System.Windows.Forms.RadioButton
    Friend WithEvents peop_wom As System.Windows.Forms.RadioButton
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents tb_peopid As System.Windows.Forms.TextBox
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents tb_peopjiguan As System.Windows.Forms.TextBox
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Button4 As System.Windows.Forms.Button
    Friend WithEvents tb_zhuanye As System.Windows.Forms.TextBox
    Friend WithEvents tb_peopage As System.Windows.Forms.TextBox
    Friend WithEvents tb_peopname As System.Windows.Forms.TextBox
    Friend WithEvents Label11 As System.Windows.Forms.Label
    Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid
    Friend WithEvents cb_louname As System.Windows.Forms.ComboBox
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents cb_roomid As System.Windows.Forms.ComboBox
    Friend WithEvents btt_del As System.Windows.Forms.Button
    Friend WithEvents btt_xg As System.Windows.Forms.Button
    Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.cb_roomid = New System.Windows.Forms.ComboBox
        Me.Label3 = New System.Windows.Forms.Label
        Me.btt_del = New System.Windows.Forms.Button
        Me.cb_pay = New System.Windows.Forms.ComboBox
        Me.peop_man = New System.Windows.Forms.RadioButton
        Me.peop_wom = New System.Windows.Forms.RadioButton
        Me.Label8 = New System.Windows.Forms.Label
        Me.Label7 = New System.Windows.Forms.Label
        Me.tb_peopid = New System.Windows.Forms.TextBox
        Me.Label6 = New System.Windows.Forms.Label
        Me.Label5 = New System.Windows.Forms.Label
        Me.Label4 = New System.Windows.Forms.Label
        Me.tb_peopjiguan = New System.Windows.Forms.TextBox
        Me.Label2 = New System.Windows.Forms.Label
        Me.Label1 = New System.Windows.Forms.Label
        Me.Button4 = New System.Windows.Forms.Button
        Me.tb_zhuanye = New System.Windows.Forms.TextBox
        Me.tb_peopage = New System.Windows.Forms.TextBox
        Me.tb_peopname = New System.Windows.Forms.TextBox
        Me.btt_xg = New System.Windows.Forms.Button
        Me.Label11 = New System.Windows.Forms.Label
        Me.cb_louname = New System.Windows.Forms.ComboBox
        Me.DataGrid1 = New System.Windows.Forms.DataGrid
        Me.TextBox1 = New System.Windows.Forms.TextBox
        Me.GroupBox1.SuspendLayout()
        CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'GroupBox1
        '
        Me.GroupBox1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.GroupBox1.BackColor = System.Drawing.SystemColors.Control
        Me.GroupBox1.Controls.Add(Me.cb_roomid)
        Me.GroupBox1.Controls.Add(Me.Label3)
        Me.GroupBox1.Controls.Add(Me.btt_del)
        Me.GroupBox1.Controls.Add(Me.cb_pay)
        Me.GroupBox1.Controls.Add(Me.peop_man)
        Me.GroupBox1.Controls.Add(Me.peop_wom)
        Me.GroupBox1.Controls.Add(Me.Label8)
        Me.GroupBox1.Controls.Add(Me.Label7)
        Me.GroupBox1.Controls.Add(Me.tb_peopid)
        Me.GroupBox1.Controls.Add(Me.Label6)
        Me.GroupBox1.Controls.Add(Me.Label5)
        Me.GroupBox1.Controls.Add(Me.Label4)
        Me.GroupBox1.Controls.Add(Me.tb_peopjiguan)
        Me.GroupBox1.Controls.Add(Me.Label2)
        Me.GroupBox1.Controls.Add(Me.Label1)
        Me.GroupBox1.Controls.Add(Me.Button4)
        Me.GroupBox1.Controls.Add(Me.tb_zhuanye)
        Me.GroupBox1.Controls.Add(Me.tb_peopage)
        Me.GroupBox1.Controls.Add(Me.tb_peopname)
        Me.GroupBox1.Controls.Add(Me.btt_xg)
        Me.GroupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
        Me.GroupBox1.Location = New System.Drawing.Point(288, 8)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(232, 320)
        Me.GroupBox1.TabIndex = 22
        Me.GroupBox1.TabStop = False
        Me.GroupBox1.Text = "住宿人员信息"
        '
        'cb_roomid
        '
        Me.cb_roomid.Location = New System.Drawing.Point(88, 240)
        Me.cb_roomid.Name = "cb_roomid"
        Me.cb_roomid.Size = New System.Drawing.Size(121, 20)
        Me.cb_roomid.TabIndex = 41
        '
        'Label3
        '
        Me.Label3.Location = New System.Drawing.Point(16, 244)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(72, 16)
        Me.Label3.TabIndex = 40
        Me.Label3.Text = "房间编号:"
        '
        'btt_del
        '
        Me.btt_del.Location = New System.Drawing.Point(80, 288)
        Me.btt_del.Name = "btt_del"
        Me.btt_del.Size = New System.Drawing.Size(56, 23)
        Me.btt_del.TabIndex = 39
        Me.btt_del.Text = "删除"
        '
        'cb_pay
        '
        Me.cb_pay.Items.AddRange(New Object() {"已缴纳", "欠    费", "未缴纳"})
        Me.cb_pay.Location = New System.Drawing.Point(88, 208)
        Me.cb_pay.Name = "cb_pay"
        Me.cb_pay.Size = New System.Drawing.Size(120, 20)
        Me.cb_pay.TabIndex = 33
        '
        'peop_man
        '
        Me.peop_man.Location = New System.Drawing.Point(88, 144)
        Me.peop_man.Name = "peop_man"
        Me.peop_man.Size = New System.Drawing.Size(48, 24)
        Me.peop_man.TabIndex = 32
        Me.peop_man.Text = "男"
        '
        'peop_wom
        '
        Me.peop_wom.Location = New System.Drawing.Point(160, 144)
        Me.peop_wom.Name = "peop_wom"
        Me.peop_wom.Size = New System.Drawing.Size(48, 24)
        Me.peop_wom.TabIndex = 31
        Me.peop_wom.Text = "女"
        '
        'Label8
        '
        Me.Label8.Location = New System.Drawing.Point(8, 212)
        Me.Label8.Name = "Label8"
        Me.Label8.Size = New System.Drawing.Size(80, 16)
        Me.Label8.TabIndex = 30
        Me.Label8.Text = "住宿费交纳:"
        '
        'Label7
        '
        Me.Label7.Location = New System.Drawing.Point(16, 88)
        Me.Label7.Name = "Label7"
        Me.Label7.Size = New System.Drawing.Size(64, 16)
        Me.Label7.TabIndex = 28
        Me.Label7.Text = "学  号:"
        '
        'tb_peopid
        '
        Me.tb_peopid.Location = New System.Drawing.Point(88, 85)
        Me.tb_peopid.Name = "tb_peopid"
        Me.tb_peopid.Size = New System.Drawing.Size(120, 21)
        Me.tb_peopid.TabIndex = 27
        Me.tb_peopid.Text = ""
        '
        'Label6
        '
        Me.Label6.Location = New System.Drawing.Point(16, 55)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(64, 16)
        Me.Label6.TabIndex = 26
        Me.Label6.Text = "年  龄:"
        '
        'Label5
        '
        Me.Label5.Location = New System.Drawing.Point(16, 152)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(64, 16)
        Me.Label5.TabIndex = 25
        Me.Label5.Text = "性  别:"
        '
        'Label4
        '
        Me.Label4.Location = New System.Drawing.Point(16, 120)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(60, 16)
        Me.Label4.TabIndex = 24
        Me.Label4.Text = "籍  贯:"
        '
        'tb_peopjiguan
        '
        Me.tb_peopjiguan.Location = New System.Drawing.Point(88, 118)
        Me.tb_peopjiguan.Name = "tb_peopjiguan"
        Me.tb_peopjiguan.Size = New System.Drawing.Size(120, 21)
        Me.tb_peopjiguan.TabIndex = 23
        Me.tb_peopjiguan.Text = ""
        '
        'Label2
        '
        Me.Label2.Location = New System.Drawing.Point(16, 181)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(56, 16)
        Me.Label2.TabIndex = 21
        Me.Label2.Text = "专  业:"
        '
        'Label1
        '
        Me.Label1.Location = New System.Drawing.Point(16, 24)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(64, 16)
        Me.Label1.TabIndex = 20
        Me.Label1.Text = "姓  名:"
        '
        'Button4
        '
        Me.Button4.Location = New System.Drawing.Point(144, 288)
        Me.Button4.Name = "Button4"
        Me.Button4.Size = New System.Drawing.Size(56, 23)
        Me.Button4.TabIndex = 19
        Me.Button4.Text = "关闭"
        '
        'tb_zhuanye
        '
        Me.tb_zhuanye.Location = New System.Drawing.Point(88, 176)
        Me.tb_zhuanye.Name = "tb_zhuanye"
        Me.tb_zhuanye.Size = New System.Drawing.Size(120, 21)
        Me.tb_zhuanye.TabIndex = 16
        Me.tb_zhuanye.Text = ""
        '
        'tb_peopage
        '
        Me.tb_peopage.Location = New System.Drawing.Point(88, 52)
        Me.tb_peopage.MaxLength = 3
        Me.tb_peopage.Name = "tb_peopage"
        Me.tb_peopage.Size = New System.Drawing.Size(120, 21)
        Me.tb_peopage.TabIndex = 7
        Me.tb_peopage.Text = ""
        '
        'tb_peopname
        '
        Me.tb_peopname.Location = New System.Drawing.Point(88, 19)
        Me.tb_peopname.Name = "tb_peopname"
        Me.tb_peopname.Size = New System.Drawing.Size(120, 21)
        Me.tb_peopname.TabIndex = 8
        Me.tb_peopname.Text = ""
        '

⌨️ 快捷键说明

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