ASP get fieds value

Whing Dela Cruz
Whing Dela Cruz used Ask the Experts™
on
Hi experts, How to get the fields value using codes below?. I'm using this, response.write(.Fields("name")), but it didn't work. Please help!


Set rs = cn.Execute("Select name from Clients where AreaCode='" & ("q") & "'")        
response.write(.Fields("name"))
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Web Ninja at large
Commented:
response.write(rs("name"))

Author

Commented:
Its working, thank you so much sir!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial