📄 admin_loaddata.vb
字号:
Imports System.Data
'引入数据库操作类命名空间
Imports System.Data.OleDb
'引入ADO.NET操作命名空间
Public Class win_loaddata
Inherits System.Windows.Forms.Form
Dim sqlstr, sqlstr2 As String 'SQL语句标记
Dim objDS, objDS2 As DataSet '数据在内存中的缓存
#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 ListView1 As System.Windows.Forms.ListView
Friend WithEvents ColumnHeader1 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader2 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader3 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader4 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader5 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader6 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader7 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader8 As System.Windows.Forms.ColumnHeader
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents btseach As System.Windows.Forms.Button
Friend WithEvents cbseacher As System.Windows.Forms.ComboBox
Friend WithEvents tbkeyword As System.Windows.Forms.TextBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Button4 As System.Windows.Forms.Button
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(win_loaddata))
Me.ListView1 = New System.Windows.Forms.ListView
Me.ColumnHeader1 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader2 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader3 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader4 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader5 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader6 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader7 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader8 = New System.Windows.Forms.ColumnHeader
Me.Label2 = New System.Windows.Forms.Label
Me.Button2 = New System.Windows.Forms.Button
Me.btseach = New System.Windows.Forms.Button
Me.cbseacher = New System.Windows.Forms.ComboBox
Me.tbkeyword = New System.Windows.Forms.TextBox
Me.Label1 = New System.Windows.Forms.Label
Me.Button1 = New System.Windows.Forms.Button
Me.Button3 = New System.Windows.Forms.Button
Me.Label3 = New System.Windows.Forms.Label
Me.Button4 = New System.Windows.Forms.Button
Me.ComboBox1 = New System.Windows.Forms.ComboBox
Me.SuspendLayout()
'
'ListView1
'
Me.ListView1.BackColor = System.Drawing.Color.DarkGray
Me.ListView1.Columns.AddRange(New System.Windows.Forms.ColumnHeader() {Me.ColumnHeader1, Me.ColumnHeader2, Me.ColumnHeader3, Me.ColumnHeader4, Me.ColumnHeader5, Me.ColumnHeader6, Me.ColumnHeader7, Me.ColumnHeader8})
Me.ListView1.FullRowSelect = True
Me.ListView1.GridLines = True
Me.ListView1.HideSelection = False
Me.ListView1.Location = New System.Drawing.Point(0, 0)
Me.ListView1.Name = "ListView1"
Me.ListView1.Size = New System.Drawing.Size(744, 448)
Me.ListView1.TabIndex = 8
Me.ListView1.View = System.Windows.Forms.View.Details
'
'ColumnHeader1
'
Me.ColumnHeader1.Text = "编号"
Me.ColumnHeader1.Width = 54
'
'ColumnHeader2
'
Me.ColumnHeader2.Text = "书名"
Me.ColumnHeader2.Width = 93
'
'ColumnHeader3
'
Me.ColumnHeader3.Text = "借阅学生"
Me.ColumnHeader3.Width = 79
'
'ColumnHeader4
'
Me.ColumnHeader4.Text = "借阅时间"
Me.ColumnHeader4.Width = 121
'
'ColumnHeader5
'
Me.ColumnHeader5.Text = "还书时间"
Me.ColumnHeader5.Width = 131
'
'ColumnHeader6
'
Me.ColumnHeader6.Text = "该还书时间"
Me.ColumnHeader6.Width = 142
'
'ColumnHeader7
'
Me.ColumnHeader7.Text = "是否归还"
'
'ColumnHeader8
'
Me.ColumnHeader8.Text = "续借次数"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(0, 456)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(48, 24)
Me.Label2.TabIndex = 11
Me.Label2.Text = "关键词:"
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Button2
'
Me.Button2.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.Button2.Location = New System.Drawing.Point(688, 456)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(48, 24)
Me.Button2.TabIndex = 7
Me.Button2.Text = "关闭"
'
'btseach
'
Me.btseach.Location = New System.Drawing.Point(256, 456)
Me.btseach.Name = "btseach"
Me.btseach.Size = New System.Drawing.Size(40, 24)
Me.btseach.TabIndex = 3
Me.btseach.Text = "查询"
'
'cbseacher
'
Me.cbseacher.Items.AddRange(New Object() {"书名", "借阅学生"})
Me.cbseacher.Location = New System.Drawing.Point(176, 456)
Me.cbseacher.Name = "cbseacher"
Me.cbseacher.Size = New System.Drawing.Size(72, 20)
Me.cbseacher.TabIndex = 2
Me.cbseacher.Text = "书名"
'
'tbkeyword
'
Me.tbkeyword.Location = New System.Drawing.Point(48, 456)
Me.tbkeyword.Name = "tbkeyword"
Me.tbkeyword.Size = New System.Drawing.Size(64, 21)
Me.tbkeyword.TabIndex = 1
Me.tbkeyword.Text = ""
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(112, 456)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(64, 24)
Me.Label1.TabIndex = 12
Me.Label1.Text = "查询方式:"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(392, 456)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(40, 24)
Me.Button1.TabIndex = 4
Me.Button1.Text = "清除"
'
'Button3
'
Me.Button3.Location = New System.Drawing.Point(440, 456)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(64, 24)
Me.Button3.TabIndex = 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -