TheConeHead
Programmer
Can someone translate the following asp/jscript to asp/vbsxcript?
Code:
conn = Server.CreateObject("ADODB.Connection");
conn.Open(Application("CONN_STR")="Provider=SQLOLEDB.1;Persist Security Info=False; User ID=uid; Password=pword; Initial catalog=db; Data Source=ip");
inSQL = "INSERT into tbl(field1, field2) VALUES ('"+var1+"','"+var2+"')";
conn.execute(inSQL);