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. Web Development
  3. ASP.NET
  4. How to store Russian text in DB

How to store Russian text in DB

Scheduled Pinned Locked Moved ASP.NET
csharpdatabaseasp-nettutorialquestion
3 Posts 3 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.
  • D Offline
    D Offline
    Deepak the Cool
    wrote on last edited by
    #1

    Hello Everyone I have a text file which has some data in Russian language.But when I store this russian text into DataBase through my code logic in C# Asp.net that is showing ??? ??? ?? ?. so anybody helps me how can this is store as russian text into DB? Thanks in advance

    Deepak :) Smile a Lots,Its Costs Nothing

    G S 2 Replies Last reply
    0
    • D Deepak the Cool

      Hello Everyone I have a text file which has some data in Russian language.But when I store this russian text into DataBase through my code logic in C# Asp.net that is showing ??? ??? ?? ?. so anybody helps me how can this is store as russian text into DB? Thanks in advance

      Deepak :) Smile a Lots,Its Costs Nothing

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

      what datatype you are using in DB. Use Datatype as 'Nvarchar' And while sending that data through any procedure, there also use datatype as Nvarchar. Nvarchar datatype has length -- 4000. Hope it will help you.

      1 Reply Last reply
      0
      • D Deepak the Cool

        Hello Everyone I have a text file which has some data in Russian language.But when I store this russian text into DataBase through my code logic in C# Asp.net that is showing ??? ??? ?? ?. so anybody helps me how can this is store as russian text into DB? Thanks in advance

        Deepak :) Smile a Lots,Its Costs Nothing

        S Offline
        S Offline
        Sathesh Sakthivel
        wrote on last edited by
        #3

        Use the Datatype as NVarChar for stroing it in the Databases.

        SSK. Anyone who says sunshine brings happiness has never danced in the rain.

        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