Help with asp here please

Associate
Joined
26 Sep 2003
Posts
834
Location
essex
I'm new to asp and need some help...

I'm trying to allow a user to enter text into a text box (which I've done). I then want to read through a database table (access db) and use this data to do some text matching against the text box.

I just can't work out what to use. In VB I would have loaded the table into a recordset and read round that. Can I do this with asp ?
 
'asp' is vbscript, so it's pretty much the same thing.


Code:
Set RS= cn.Execute("select info from table")

Do While Not RSS.eof
	Response.Write RS("info")
RS.MoveNext
Loop
 
KingAdora said:
'asp' is vbscript, so it's pretty much the same thing.


Code:
Set RS= cn.Execute("select info from table")

Do While Not RSS.eof
	Response.Write RS("info")
RS.MoveNext
Loop

Thanks,
I'll give that a go. :)

I suppose I was getting a little confused with the 'AccessDataSource Control' and how I would use that to do this, although I don't want to display the table and that's all this seems to do.
 
Back
Top Bottom