en svona er nu einfladlega haegt ad gera thetta.
strSQL ma svo nottulega breyta i thad sem madur vill t.d. “SELECT * FROM table WHERE dalkur = ‘”& eitthvad &“’;”
set rsTasks = Server.CreateObject(“ADODB.Recordset”)
rsTasks.cursorlocation = 3
rsTasks.cursortype = 3
strSQL = “SELECT * FROM task_info”
rsTasks.Open strSQL, Conn
strCount = rsTasks.RecordCount
strSQL = null
Response.Write(strCount)
kv
Moose
- Moose ltd. -