TextBox Problem in asp.net
-
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
-
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
This is a SQL question then, not an ASP.NET one ?
Christian Graus Driven to the arms of OSX by Vista.
-
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
-
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
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
-
This is a SQL question then, not an ASP.NET one ?
Christian Graus Driven to the arms of OSX by Vista.
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....
-
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
Sir I am using unicode codepage 1200 and inline query no sp and no globalization. Thanks for reply
-
Thank you sir applying N before text text solved my problem. But please tell me what is mean by this N.