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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. problem:storing rtf formatted data into sql

problem:storing rtf formatted data into sql

Scheduled Pinned Locked Moved Database
helpdatabasequestion
3 Posts 2 Posters 1 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
    askhar516
    wrote on last edited by
    #1

    Hi,all,may be this is a simple question, but i can't fix it. i can't store rtf format of any unicode string or chinese string into sql database by using sql statement. The unicode string or chinese string is from the richtextbox, i used "rtfData=RichTextBox.Rtf" and tried to insert rtfData int sql database, but i can't. is there any special character i have to deal with in the rtf formatted data?please help,thanks!

    I 1 Reply Last reply
    0
    • A askhar516

      Hi,all,may be this is a simple question, but i can't fix it. i can't store rtf format of any unicode string or chinese string into sql database by using sql statement. The unicode string or chinese string is from the richtextbox, i used "rtfData=RichTextBox.Rtf" and tried to insert rtfData int sql database, but i can't. is there any special character i have to deal with in the rtf formatted data?please help,thanks!

      I Offline
      I Offline
      i i i
      wrote on last edited by
      #2

      please can you explain on a little more that on front end you are using any application like vb , vc or what and which approach are you using to store the data in data base data set , objects or what

      Best Of Regards, SOFTDEV Sad like books with torn pages, sad like unfinished stories ...

      A 1 Reply Last reply
      0
      • I i i i

        please can you explain on a little more that on front end you are using any application like vb , vc or what and which approach are you using to store the data in data base data set , objects or what

        Best Of Regards, SOFTDEV Sad like books with torn pages, sad like unfinished stories ...

        A Offline
        A Offline
        askhar516
        wrote on last edited by
        #3

        thanks for the reply,i used the vb.net ,i fixed the problem by doubling the single quote.

        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