W
Web Search Store
Hello,
I'm finally trying to use asp.net
I would appreciate any code sample on how to translate the following code
that opens an access database:
dim mydsn
dim conntemp
dim sqlstmt
mydsn="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=c:\myaccessdb.mdb"
set conntemp=server.createobject("adodb.connection")
conntemp.open mydsn
sqlstmt = "Select * from item_table order by item_matching_score DESC"
Set RS = conntemp.Execute(sqlstmt)
if not RS.bof and not RS.eof then
response.write "<br>record number=" & cstr(RS("item_number"))
end if
Or tell me the best place to look for this.
Thank you very much.
Scott
I'm finally trying to use asp.net
I would appreciate any code sample on how to translate the following code
that opens an access database:
dim mydsn
dim conntemp
dim sqlstmt
mydsn="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=c:\myaccessdb.mdb"
set conntemp=server.createobject("adodb.connection")
conntemp.open mydsn
sqlstmt = "Select * from item_table order by item_matching_score DESC"
Set RS = conntemp.Execute(sqlstmt)
if not RS.bof and not RS.eof then
response.write "<br>record number=" & cstr(RS("item_number"))
end if
Or tell me the best place to look for this.
Thank you very much.
Scott