无法插入空行,行必须有一个列值错误,添加不了 5
PrivateSubCommand1_Click()Adodc1.Recordset.AddNewAdodc1.Recordset.MoveLastEndSubPriva...
Private Sub Command1_Click()
Adodc1.Recordset.AddNew
Adodc1.Recordset.MoveLast
End Sub
Private Sub Command2_Click()
Adodc1.Recordset.Delete (adAffectCurrent)
Adodc1.Recordset.Update
DataGrid1.Refresh
End Sub
Private Sub Command3_Click()
Adodc1.Recordset.Update
DataGrid1.Refresh
End Sub
Private Sub Form_Load()
End Sub 展开
Adodc1.Recordset.AddNew
Adodc1.Recordset.MoveLast
End Sub
Private Sub Command2_Click()
Adodc1.Recordset.Delete (adAffectCurrent)
Adodc1.Recordset.Update
DataGrid1.Refresh
End Sub
Private Sub Command3_Click()
Adodc1.Recordset.Update
DataGrid1.Refresh
End Sub
Private Sub Form_Load()
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询