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. Web Development
  3. ASP.NET
  4. URGENT : only 255 characters uploading from excel to sql server.why?

URGENT : only 255 characters uploading from excel to sql server.why?

Scheduled Pinned Locked Moved ASP.NET
databasesql-serversysadminhelptutorial
3 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.
  • K Offline
    K Offline
    Karan_TN
    wrote on last edited by
    #1

    i m uploading excel to database. the excel consist of a field "comments" which caarry more than 2000 characters. but when i m trying to upload, it takes only 255 characters and remaining are omitted. how to resolve it?. help me... thanks in advance - KARAN

    M 1 Reply Last reply
    0
    • K Karan_TN

      i m uploading excel to database. the excel consist of a field "comments" which caarry more than 2000 characters. but when i m trying to upload, it takes only 255 characters and remaining are omitted. how to resolve it?. help me... thanks in advance - KARAN

      M Offline
      M Offline
      MHASSANF
      wrote on last edited by
      #2

      you must change the type of youre Column in the database to "ntext"

      K 1 Reply Last reply
      0
      • M MHASSANF

        you must change the type of youre Column in the database to "ntext"

        K Offline
        K Offline
        Karan_TN
        wrote on last edited by
        #3

        thanks mhassanf.... i set as nvarchar(3000). but eventhough i cant find solution. just refer my previous post plz. help me. http://www.codeproject.com/script/Forums/View.aspx?fid=12076&msg=2550129

        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