Results 1 to 5 of 5

Thread: Search and ASP

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    46

    Question

    We are developing our Intranet site and are including a search capability. We also have asp pages that are populated by a database using queries. I am fairly new to ASP programming. Is it possible to have a search feature that would return values that are populated on the ASP page?

    Any help is appreciated.

  2. #2

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    46

    Does anyone know the answer

    Does anyone know the answer to my question? Please help!!

    We are developing our Intranet site and are including a search capability. We also have asp pages that are populated by a database using queries. I am fairly new to ASP programming. Is it possible to have a search feature that would return values that are populated on the ASP page?

    Any help is appreciated

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    Since the ASP pages are populated with data at runtime, you can't seach on the content of the ASP pages using the Content Indexer because your ASP files will not contain data at the time of the indexing by that service. If you want to search your database you need to create a custom searching mechanism to facilitate this

  4. #4

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    46
    Thanks Clunietp. I was thinking this would be the case but was not sure. It looks like I will be having fun creating a search engine of my own!!!

  5. #5
    Guest
    Surely if all the information on the pages is ripped from a database then can't you just create a sql statement to get the infor you need then display it with the asp pages like normal?

    Use something like:
    Code:
    SELECT * FROM Articles WHERE Content LIKE '%latest news%';
    in the Open argument of a recordset to return only the records that match your search...

    I'd have thought it would only take a few modifications to integrate this into your current pages (ooh...see those buzz words!! )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width