我是往数据库里存东西,存不进啊
Private Sub Command1_Click()
Dim yn As ADODB.Recordset
Set yn = New ADODB.Recordset
Dim yp As ADODB.Recordset
Set yp = New ADODB.Recordset
Adodc1.Recordset.Fields("yn") = Text1.Text
Adodc1.Recordset.Fields("yp") = Text2.Text
Adodc1.Recordset.Update
Command1.Enabled = False
Command2.Enabled = False
Command3.Enabled = True
Command4.Enabled = True
End Sub