the database connection should be
dim Con
Set Con=Server.CreateObject("ADODB.Connection")
objConn.Provider = "Microsoft.Jet.OLEDB.4.0"
objConn.Open "path\database.mdb"
or
dim Con, strC
Set Con = Server.CreateObject("ADODB.Connection")
strC = "Data Source = datasourcename;User ID=userid;Password=password;"
objConn.Open strC
the insert sql statement should be
sqlString= "INSERT INTO module1 (product_id,product_name, product_number)VALUES("'" & productid & "','" & productname & "','" & prouctnumber & "')"
read some online document for vbscript before your began to program.
dim Con
Set Con=Server.CreateObject("ADODB.Connection")
objConn.Provider = "Microsoft.Jet.OLEDB.4.0"
objConn.Open "path\database.mdb"
or
dim Con, strC
Set Con = Server.CreateObject("ADODB.Connection")
strC = "Data Source = datasourcename;User ID=userid;Password=password;"
objConn.Open strC
the insert sql statement should be
sqlString= "INSERT INTO module1 (product_id,product_name, product_number)VALUES("'" & productid & "','" & productname & "','" & prouctnumber & "')"
read some online document for vbscript before your began to program.