use ADO e.g.
'your db connection
SET DbOraObj = Server.CreateObject("ADODB
DbOraObj.connectionString = GetDBConnectionStr ("ORA")
DbOraObj.open
objRS.Open "yourtablename, DbOraobj,adOpenStatic,adLo
objRS.AddNew
objrs("field1") = "hello"
objrs("field2") = "bye"
objrs.update
see www.w3schools.com for more info
Replace fields with your names
ie
for each fld in request.form
objrs(fld) = request.form(fld)
next
' might be back to front!
Main Topics
Browse All Topics





by: puranik_pPosted on 2003-05-22 at 04:52:43ID: 8563766
before executing
strSQL = Replace(strSQL."'","''")