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. TextBox Problem in asp.net

TextBox Problem in asp.net

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptasp-netdatabase
7 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.
  • F Offline
    F Offline
    faizurrahman
    wrote on last edited by
    #1

    I have my own custom web textbox control which accept only arabic. I have done this work through javascript but the problem is that when I use this textbox in my project and inserting data in sql server 2000. It insert question marks instead of arabic text. The field is nvarchar and i have save it as unicode. Please need urgent help Faizur Rahman

    C H D 3 Replies Last reply
    0
    • F faizurrahman

      I have my own custom web textbox control which accept only arabic. I have done this work through javascript but the problem is that when I use this textbox in my project and inserting data in sql server 2000. It insert question marks instead of arabic text. The field is nvarchar and i have save it as unicode. Please need urgent help Faizur Rahman

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      This is a SQL question then, not an ASP.NET one ?

      Christian Graus Driven to the arms of OSX by Vista.

      F 1 Reply Last reply
      0
      • F faizurrahman

        I have my own custom web textbox control which accept only arabic. I have done this work through javascript but the problem is that when I use this textbox in my project and inserting data in sql server 2000. It insert question marks instead of arabic text. The field is nvarchar and i have save it as unicode. Please need urgent help Faizur Rahman

        H Offline
        H Offline
        HemJoshi
        wrote on last edited by
        #3

        Before instering the arabic value put N before the text... N’Arabic Text’

        F 1 Reply Last reply
        0
        • F faizurrahman

          I have my own custom web textbox control which accept only arabic. I have done this work through javascript but the problem is that when I use this textbox in my project and inserting data in sql server 2000. It insert question marks instead of arabic text. The field is nvarchar and i have save it as unicode. Please need urgent help Faizur Rahman

          D Offline
          D Offline
          Dominic Goulet
          wrote on last edited by
          #4

          I clearly can't answer a such wide question, but at least I will give you hints. Have you checked your web page encoding? Is it UTF-8? Maybe you are losing the arabic text on the post back? Have you did a step-by-step debug in code? Do you use a stored procedure or plain sql code inside your .net code? Are you using any Globalization inside your .net code?

          ______________________ Dominic Goulet FroggedSoft

          F 1 Reply Last reply
          0
          • C Christian Graus

            This is a SQL question then, not an ASP.NET one ?

            Christian Graus Driven to the arms of OSX by Vista.

            F Offline
            F Offline
            faizurrahman
            wrote on last edited by
            #5

            Christian Graus this is not sql question because I have another Project in which I have textbox and when I am inserting value from simple textbox in the same table the data inserted perfactly. Please any help....

            1 Reply Last reply
            0
            • D Dominic Goulet

              I clearly can't answer a such wide question, but at least I will give you hints. Have you checked your web page encoding? Is it UTF-8? Maybe you are losing the arabic text on the post back? Have you did a step-by-step debug in code? Do you use a stored procedure or plain sql code inside your .net code? Are you using any Globalization inside your .net code?

              ______________________ Dominic Goulet FroggedSoft

              F Offline
              F Offline
              faizurrahman
              wrote on last edited by
              #6

              Sir I am using unicode codepage 1200 and inline query no sp and no globalization. Thanks for reply

              1 Reply Last reply
              0
              • H HemJoshi

                Before instering the arabic value put N before the text... N’Arabic Text’

                F Offline
                F Offline
                faizurrahman
                wrote on last edited by
                #7

                Thank you sir applying N before text text solved my problem. But please tell me what is mean by this N.

                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