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. query

query

Scheduled Pinned Locked Moved Database
databasequestion
5 Posts 4 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.
  • M Offline
    M Offline
    mohantfor net
    wrote on last edited by
    #1

    i want insert like this text.mohan's.how can i insert this in sqlserver.plz send me.its urgent

    G 1 Reply Last reply
    0
    • M mohantfor net

      i want insert like this text.mohan's.how can i insert this in sqlserver.plz send me.its urgent

      G Offline
      G Offline
      gauthee
      wrote on last edited by
      #2

      use 'mohan'''s' and insert the value just play with apostrophee until the entire value becomes a single string!

      Gautham

      M 1 Reply Last reply
      0
      • G gauthee

        use 'mohan'''s' and insert the value just play with apostrophee until the entire value becomes a single string!

        Gautham

        M Offline
        M Offline
        mohantfor net
        wrote on last edited by
        #3

        thank u .but how can i concate in asp.net for insert

        K B 2 Replies Last reply
        0
        • M mohantfor net

          thank u .but how can i concate in asp.net for insert

          K Offline
          K Offline
          Krish KP
          wrote on last edited by
          #4

          refer to message below with subject "Problem with special characters in SqlParameter" similary usage is explained as what you are looking for, in different ways ...

          Regards KP

          1 Reply Last reply
          0
          • M mohantfor net

            thank u .but how can i concate in asp.net for insert

            B Offline
            B Offline
            Blue_Boy
            wrote on last edited by
            #5

            if you are using asp.net with C# then try TextBox1.Text.Replace("'","''");


            I Love SQL

            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