誰でも以下のコード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