Input Foreign Letters on Web page(aspx)

gem1204

New member
Joined
Sep 30, 2006
Messages
3
Programming Experience
1-3
I am using Visual Studio 2005 and sql server on a web page. My users are from Thailand and I would like for them to be able enter text using the Thai alphabet from their Thai keyboards. I have my field in my Sql Server set to nVarchar. I can enter Thai into the text box on my web form and the Thai characters will display as I type them, but when I click save on my web page all the Thai characters are replaced with question marks on post back like so.(???????????????) and the question marks is what is stored in my database.

I can enter Thai letters directly into my sql server nVarchar field and the data is saved as it was entered – that works perfectly.

Can someone please explain to my how I can enter Thai into my textbox on my web form and have the data saved as Thai in my database instead of being converted to question marks.

Again, I am using visual studio 2005, Visual basic.net, Sql Server 2005 and the page in question is a aspx.

Many thanks for your help
 
Back
Top