Results 1 to 2 of 2

Thread: Search with multi result?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    254

    Question Search with multi result?

    Hi guys i am told to do a site with asp language.

    After entering entry into database theres a search button that allows user to key in what they wanted to search.

    When user search for items that only have one in database its no problem. But what my project supervisor wanted is when users search for non-unique key like company? they will show all the results that have the same company...

    how do i go about doing this?

    please help =)

    Akababy.Net... Life Redefined!

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877

    Re: Search with multi result?

    Originally posted by baby
    Hi guys i am told to do a site with asp language.

    After entering entry into database theres a search button that allows user to key in what they wanted to search.

    When user search for items that only have one in database its no problem. But what my project supervisor wanted is when users search for non-unique key like company? they will show all the results that have the same company...

    how do i go about doing this?

    please help =)
    You can use SQL query to return the search result.
    e.g

    Select * From MyTable where Company_Name ='Company'

    or
    Select * From MyTable Where Company_Name Like 'Company*'
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

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