任何人都可以解决下面的代码plz ....
注意:前端 vb8 和后端访问 7
Private Sub SaveData()
Dim InsertString As String
InsertString = "Insert into STUDENT DETAILS(SREGNO,SFIRSTNAME,SMIDDLENAME,SLASTNAME,SYEAR,SCOURSE,SSEM,SCLASS,SLANGUAGE)" & "Values('" & Me.TXTSREGNO.Text & "','" & Me.TXTSFIRSTNAME.Text & "','" & Me.TXTSMIDDLENAME.Text & "','" & Me.TXTSLASTNAME.Text & "','" & Me.COMB1SYEAR.Text & "','" & Me.COMB2SCOURSE.Text & "','" & Me.COMB3SSEM.Text & "','" & Me.COMB4SCLASS.Text & "','" & Me.COMB5SLANGUAGE.Text & " ');"
Dim InsertCommand As New OleDbCommand(InsertString, Con)
InsertCommand.ExecuteNonQuery()
MsgBox("New record added successfully.", MsgBoxStyle.Information, "Record Added")
End Sub