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. Database & SysAdmin
  3. Database
  4. ' problem in query.

' problem in query.

Scheduled Pinned Locked Moved Database
helpdatabasequestion
4 Posts 2 Posters 0 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.
  • A Offline
    A Offline
    Asim N
    wrote on last edited by
    #1

    Hello, I am having a small problem: I am using Helper classes for DataAccess. i have a scenario where i cannot use parameterised query due to some reasons. Now the problem is when someone search with ' in text; it breaks ans throws exception. I replaced this with '' but its not working. Can anyone help on this ? Regards, Asim

    C 1 Reply Last reply
    0
    • A Asim N

      Hello, I am having a small problem: I am using Helper classes for DataAccess. i have a scenario where i cannot use parameterised query due to some reasons. Now the problem is when someone search with ' in text; it breaks ans throws exception. I replaced this with '' but its not working. Can anyone help on this ? Regards, Asim

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      How is it not working, is it still throwing an exception ? Or not finding what you expect ? Christian Graus - Microsoft MVP - C++

      A 1 Reply Last reply
      0
      • C Christian Graus

        How is it not working, is it still throwing an exception ? Or not finding what you expect ? Christian Graus - Microsoft MVP - C++

        A Offline
        A Offline
        Asim N
        wrote on last edited by
        #3

        Yes, it's still throwning exception. any solutions ? Regards, Asim

        C 1 Reply Last reply
        0
        • A Asim N

          Yes, it's still throwning exception. any solutions ? Regards, Asim

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Most people find the quickest way to getting a solution is to report the exact problem, by telling is the type and message of the exception, and providing a code snippet. Christian Graus - Microsoft MVP - C++

          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