For your Access database, you will need to us the System.Data.Ole Db namespace in order to connect to the Access database
[code=vbnet]
Imports System.Data.Ole Db
[/code]
You will need a connection string....
Then you need to create a command object....
[code=vbnet]
Dim cmd As New OleDbCommand("I NSERT INTO MyTable(Var1, Var2)VALUES('" & Var1Value & "','" & Var2Value & "')", New OleDbConnection (connectionStri ng))
[/code]
Then you need to carry out your command...
[code=vbnet]
cmd.Connection. Open()
cmd.ExecuteNonQ uery()
cmd.Connection. Close()
[/code]
Comment