VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form1 
   Caption         =   "使用ADO数据控件与数据库连接"
   ClientHeight    =   3000
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4905
   LinkTopic       =   "Form1"
   ScaleHeight     =   3000
   ScaleWidth      =   4905
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox Text7 
      DataField       =   "备注"
      DataSource      =   "Adodc1"
      Height          =   915
      Left            =   300
      TabIndex        =   9
      Top             =   1260
      Width           =   4575
   End
   Begin VB.TextBox Text3 
      DataField       =   "性别"
      DataSource      =   "Adodc1"
      Height          =   375
      Left            =   540
      TabIndex        =   8
      Top             =   420
      Width           =   375
   End
   Begin VB.TextBox Text5 
      DataField       =   "出生年月"
      DataSource      =   "Adodc1"
      Height          =   375
      Left            =   2280
      TabIndex        =   7
      Top             =   420
      Width           =   1575
   End
   Begin VB.TextBox Text4 
      DataField       =   "家庭地址"
      DataSource      =   "Adodc1"
      Height          =   375
      Left            =   2760
      TabIndex        =   6
      Top             =   840
      Width           =   2115
   End
   Begin VB.TextBox Text2 
      DataField       =   "姓名"
      DataSource      =   "Adodc1"
      Height          =   375
      Left            =   2280
      TabIndex        =   5
      Top             =   0
      Width           =   1575
   End
   Begin VB.TextBox Text1 
      DataField       =   "学号"
      DataSource      =   "Adodc1"
      Height          =   375
      Left            =   540
      TabIndex        =   4
      Top             =   0
      Width           =   1275
   End
   Begin VB.ComboBox Combo1 
      DataField       =   "专业"
      DataSource      =   "Adodc1"
      Height          =   300
      ItemData        =   "sy11-19.frx":0000
      Left            =   540
      List            =   "sy11-19.frx":0010
      TabIndex        =   3
      Text            =   "数学"
      Top             =   900
      Width           =   1335
   End
   Begin VB.CommandButton Command3 
      Caption         =   "完全代码连接"
      Height          =   375
      Left            =   3420
      TabIndex        =   2
      Top             =   2640
      Width           =   1395
   End
   Begin VB.CommandButton Command2 
      Caption         =   "代码配合ADO"
      Height          =   375
      Left            =   1740
      TabIndex        =   1
      Top             =   2640
      Width           =   1395
   End
   Begin VB.CommandButton Command1 
      Caption         =   "数据环境设计器"
      Height          =   375
      Left            =   60
      TabIndex        =   0
      Top             =   2640
      Width           =   1455
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   375
      Left            =   0
      Top             =   2220
      Width           =   4980
      _ExtentX        =   8784
      _ExtentY        =   661
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   2
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=E:\VB6.0实验指导与测试\Mydb.mdb"
      OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=E:\VB6.0实验指导与测试\Mydb.mdb"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "Student"
      Caption         =   "Adodc1"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _Version        =   393216
   End
   Begin VB.Label Label1 
      Caption         =   "学号"
      Height          =   255
      Index           =   0
      Left            =   60
      TabIndex        =   16
      Top             =   120
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "性别"
      Height          =   255
      Index           =   4
      Left            =   60
      TabIndex        =   15
      Top             =   480
      Width           =   405
   End
   Begin VB.Label Label1 
      Caption         =   "年龄"
      Height          =   255
      Index           =   3
      Left            =   1860
      TabIndex        =   14
      Top             =   480
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "专业"
      Height          =   255
      Index           =   2
      Left            =   0
      TabIndex        =   13
      Top             =   900
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "姓名"
      Height          =   255
      Index           =   1
      Left            =   1860
      TabIndex        =   12
      Top             =   120
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "家庭地址"
      Height          =   255
      Index           =   5
      Left            =   1980
      TabIndex        =   11
      Top             =   900
      Width           =   795
   End
   Begin VB.Label Label1 
      Caption         =   "备注"
      Height          =   495
      Index           =   6
      Left            =   0
      TabIndex        =   10
      Top             =   1380
      Width           =   195
   End
   Begin VB.Image Image1 
      BorderStyle     =   1  'Fixed Single
      DataField       =   "照片"
      DataSource      =   "Adodc1"
      Height          =   795
      Left            =   4020
      Top             =   0
      Width           =   855
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
    Form2.Show
End Sub

Private Sub Command2_Click()
    Form3.Show
End Sub

Private Sub Command3_Click()
    Form4.Show
End Sub
