?? 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 + -