I'm going to apologize right off, I don't use visual interdev or visual .net as a tool to write asp code. Looking at this though, there might be code in a folder/file called _ScriptLibrary/EventMgr.HTM that holds the connection strings and recordset strings. I'm not sure about that.
Here's what I would use as a conneciton string though:
'This assumes you're connected with a DSN
Set objConn = Server.CreateObject("ADODB.Connection"

objConn.Open "DSN=DSNName;uid=SQLUserName;pwd=SQLUserNaemPWRD;"
Set objRst = Server.CreateObject("ADODB.Recordset"

strSQL = "Select * from Customers;"
'Open your recordset
objRst.Open strSQL, objConn
'Next list out all the field names and values
objRst.Movefirst
While not objRst.eof
for each item in objRst.Fields
Response.Write item.Name & "<br>" & item.value
next
objRst.Movenext
Wend
To put them in form fields put in "<input type=Text value='" & objRst("FieldName"

.value & "'>" right before the reponse.write item.name like this:
Response.Write "<input type=Text value='" & objRst("FieldName"

.value & "'>"