TheConeHead
Programmer
Would anyone know how to do the following in VBScript?
Thanks for helping a brother out!
----------
var conn = Server.CreateObject("ADODB.Connection"
conn.ConnectionString="Driver={SQL Server};Server=xxx;UID=yyy;PWD=zzz";
conn.Open();
rs=Server.CreateObject("ADODB.RecordSet"
rs.CursorType=0;
rs.CursorLocation=3;
rs.LockType=1;
sSQL="Select * From aaa";
rs.Open(sSQL,conn);
----------
while (!rs.eof) {
if (counter == 0) {
.....
}
rs.MoveNext();
}
Thanks for helping a brother out!
----------
var conn = Server.CreateObject("ADODB.Connection"
conn.ConnectionString="Driver={SQL Server};Server=xxx;UID=yyy;PWD=zzz";
conn.Open();
rs=Server.CreateObject("ADODB.RecordSet"
rs.CursorType=0;
rs.CursorLocation=3;
rs.LockType=1;
sSQL="Select * From aaa";
rs.Open(sSQL,conn);
----------
while (!rs.eof) {
if (counter == 0) {
.....
}
rs.MoveNext();
}