Discussion Locked

ASP : getting the values one by one

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello all,
i am trying the get all of the records of ASP site which i need data from it .
is there a way to do this ?
for example
http://www.ilacrehberi.com/cgi-bin/hastane.asp?hastane=1

i want to get all of the hastanes' Tel , Fax & Addressto a file or table .

p.s:Hastane means Hospital in turkish :)
thanks a lot

5 replies

by olivier_de-polignac

I am not sure I understand your question. Do you want to "download" the content of the specified Web site, such as getting hastname=1, hastname=2, etc?

If that is the case, you can use a server side component to download the content of each page and then parse it.

Check at http://www.planetsourcecode.com/xq/ASP/txtCodeId.6665/lngWId.4/qx/vb/scripts/ShowCode.htm

This is a sample of extracing stock quotes from a yahoo page.

In order to find out the values for hastname, there is probably on the source Web site a page that list all possible hospitals. Download and analyze this page also to get the values.

Hope this will help.

Olivier

by rsv

HI,
No you can retrieve all the records, b'coz its programmed in such a way that, it retrieves records based on the 'hastane" number, this is a field in the database on which base query is written.

Good Luck...L)

This discussion is closed to new replies.