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 Insering Long text in mysql from c#

Problem in Insering Long text in mysql from c#

Scheduled Pinned Locked Moved Database
helpcsharpmysqlarchitecturetutorial
2 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.
  • R Offline
    R Offline
    Ramachandra127
    wrote on last edited by
    #1

    In one table i am having 30 columns,in each column i mentioned data type as long text with character set as utf-8.When i am inserting the text from c# it only saving some limited number of characters,It is not saving full text.I want to insert long type text to almost to 30 columns I tried with changing different data types and character sets but not working.Please help me in getting this mysql problem.Example text from c# to insert in mysql column

    height:30px;width:70px;background-color:rgba(255,255,255,1);color:#000000;font-family:Francois One, sans-serif;font-size:14px;padding:0px;margin:0px;border-radius:0px;border:solid 0px rgba(255,255,255,1);

    P 1 Reply Last reply
    0
    • R Ramachandra127

      In one table i am having 30 columns,in each column i mentioned data type as long text with character set as utf-8.When i am inserting the text from c# it only saving some limited number of characters,It is not saving full text.I want to insert long type text to almost to 30 columns I tried with changing different data types and character sets but not working.Please help me in getting this mysql problem.Example text from c# to insert in mysql column

      height:30px;width:70px;background-color:rgba(255,255,255,1);color:#000000;font-family:Francois One, sans-serif;font-size:14px;padding:0px;margin:0px;border-radius:0px;border:solid 0px rgba(255,255,255,1);

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Soooo... what's the definition of the column? Where's the code you're using?

      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