Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Query

Query

Scheduled Pinned Locked Moved ASP.NET
databasealgorithmshelptutorial
6 Posts 5 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Socheat Net
    wrote on last edited by
    #1

    Hi all, I have problem with search form, i have created form for searching data, below is my example. When user type keyword "Economics Review" it will transfer the keyword to compare with sql query if it found Economics it will dispaly Economics and Review is found will also display but i want to find only the keyword "Economics Review"

    Socheat

    I C P 3 Replies Last reply
    0
    • S Socheat Net

      Hi all, I have problem with search form, i have created form for searching data, below is my example. When user type keyword "Economics Review" it will transfer the keyword to compare with sql query if it found Economics it will dispaly Economics and Review is found will also display but i want to find only the keyword "Economics Review"

      Socheat

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      Which Query string are you using?

      GOD HELP THOSE WHO HELP THEMSELVES

      1 Reply Last reply
      0
      • S Socheat Net

        Hi all, I have problem with search form, i have created form for searching data, below is my example. When user type keyword "Economics Review" it will transfer the keyword to compare with sql query if it found Economics it will dispaly Economics and Review is found will also display but i want to find only the keyword "Economics Review"

        Socheat

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        Socheat.Net wrote:

        below is my example

        I don't see any code in this post. What example?

        Socheat.Net wrote:

        When user type keyword "Economics Review" it will transfer the keyword to compare with sql query if it found Economics it will dispaly Economics and Review is found will also display but i want to find only the keyword "Economics Review"

        So what code do you have already?


        Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... * Reading: Developer Day 5 Ready to Give up - Your help will be much appreciated. My website

        1 Reply Last reply
        0
        • S Socheat Net

          Hi all, I have problem with search form, i have created form for searching data, below is my example. When user type keyword "Economics Review" it will transfer the keyword to compare with sql query if it found Economics it will dispaly Economics and Review is found will also display but i want to find only the keyword "Economics Review"

          Socheat

          P Offline
          P Offline
          PrakashBhaskar
          wrote on last edited by
          #4

          try using like statement by the following way coz i had the same issue and i have succeed with the below technique select * from where like '%Economics%' and like '%Review%'

          Regards Prakash-B

          S 1 Reply Last reply
          0
          • P PrakashBhaskar

            try using like statement by the following way coz i had the same issue and i have succeed with the below technique select * from where like '%Economics%' and like '%Review%'

            Regards Prakash-B

            S Offline
            S Offline
            Socheat Net
            wrote on last edited by
            #5

            Thanks, but not what i want

            Socheat

            C 1 Reply Last reply
            0
            • S Socheat Net

              Thanks, but not what i want

              Socheat

              C Offline
              C Offline
              Chetan Ranpariya
              wrote on last edited by
              #6

              HI, Try the follwing way. select * from where like '%Economics Review%' I hope this will help you.

              Thanks and Regards, Chetan Ranpariya

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups