【VB开源代码栏目提醒】:网学会员鉴于大家对VB开源代码十分关注,论文会员在此为大家搜集整理了“FrmData.frm”一文,供大家参考学习
VERSION 5.00
Begin VB.Form FrmData
BorderStyle = 1 'Fixed Single
Caption = "显示所有员工信息"
ClientHeight = 5460
ClientLeft = 45
ClientTop = 330
ClientWidth = 4920
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5460
ScaleWidth = 4920
StartUpPosition = 2 '屏幕中心
Begin VB.Data Data1
Caption = "Data1"
Connect = "ODBC;DATABASE=newdb;UID=sa;PWD=sa;DSN=newdb"
DatabaseName = ""
DefaultCursorType= 1 'ODBC 游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 345
Left = 1350
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "SELECT * FROM Employee ORDER BY Emp_Id"
Top = 120
Width = 2220
End
Begin VB.TextBox Text10
Alignment = 1 'Right Justify
DataField = "Dep_id"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 19
Top = 4800
Width = 3015
End
Begin VB.TextBox Text9
Alignment = 1 'Right Justify
DataField = "Wage"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 17
Top = 4339
Width = 3015
End
Begin VB.TextBox Text8
Alignment = 1 'Right Justify
DataField = "Id_Card"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 15
Top = 3881
Width = 3015
End
Begin VB.TextBox Text7
Alignment = 1 'Right Justify
DataField = "Mobile_phone"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 13
Top = 3423
Width = 3015
End
Begin VB.TextBox Text6
Alignment = 1 'Right Justify
DataField = "Office_phone"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 11
Top = 2965
Width = 3015
End
Begin VB.TextBox Text5
Alignment = 1 'Right Justify
DataField = "Age"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 9
Top = 2507
Width = 3015
End
Begin VB.TextBox Text4
Alignment = 1 'Right Justify
DataField = "Title"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 7
Top = 2049
Width = 3015
End
Begin VB.TextBox Text3
Alignment = 1 'Right Justify
DataField = "Sex"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 5
Top = 1591
Width = 3015
End
Begin VB.TextBox Text2
Alignment = 1 'Right Justify
DataField = "Emp_Name"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 3
Top = 1133
Width = 3015
End
Begin VB.TextBox Text1
Alignment = 1 'Right Justify
DataField = "Emp_Id"
DataSource = "Data1"
Height = 270
Left = 1440
TabIndex = 1
Top = 675
Width = 3015
End
Begin
VB.Label Label10
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "部门编号:"
Height = 180
Left = 360
TabIndex = 18
Top = 4845
Width = 900
End
Begin VB.Label Label9
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "工资:"
Height = 180
Left = 360
TabIndex = 16
Top = 4384
Width = 540
End
Begin VB.Label Label8
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "身份证号:"
Height = 180
Left = 360
TabIndex = 14
Top = 3926
Width = 900
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "移动电话:"
Height = 180
Left = 360
TabIndex = 12
Top = 3468
Width = 900
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "办公电话:"
Height = 180
Left = 360
TabIndex = 10
Top = 3010
Width = 900
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "年龄:"
Height = 180
Left = 360
TabIndex = 8
Top = 2552
Width = 540
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "职务:"
Height = 180
Left = 360
TabIndex = 6
Top = 2094
Width = 540
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "性别:"
Height = 180
Left = 360
TabIndex = 4
Top = 1636
Width = 540
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = ":"
Height = 180
Left = 360
TabIndex = 2
Top = 1178
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "员工编号:"
Height = 180
Left = 360
TabIndex = 0
Top = 720
Width = 900
End
End
Attribute VB_Name = "FrmData"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False