newbie in C# 2003, saving Asian characters to database problem
- From: "HibernatingBear" <letmesleep@xxxxxxxxxxx>
- Date: 28 Mar 2007 11:46:05 -0700
Hope I'm posting in the right place. Have spent more hours than i
would like on this problem and still have not solved it. I'm using
SQL Server for the db.
I have a GUI application with 2 multi-line textboxes that can be
populated with Asian characters. I can't get the Asian characters to
save to the database. (Bizarrely enough, when I manually saved a few
Asian characters in the database table, they displayed on the GUI with
no problems, and without using extra code, either. Thought I could do
a Save without problems, but got "???")
In trying to Save, I've initialized and used StreamReader with the
"using System.IO" namespace. That didn't work, seems the application
went looking for a file with the character name. Also tried an Int32
conversion(?) for the textbox, which turned it into a byte array.
Can anyone point me in the right direction? Hints? Anything?
Thanks in advance.
.
- Follow-Ups:
- Re: newbie in C# 2003, saving Asian characters to database problem
- From: james
- Re: newbie in C# 2003, saving Asian characters to database problem
- From: Jon Skeet [C# MVP]
- Re: newbie in C# 2003, saving Asian characters to database problem
- Prev by Date: Re: downloading a single file using multiple threads
- Next by Date: Re: .NET Security
- Previous by thread: .NET Security
- Next by thread: Re: newbie in C# 2003, saving Asian characters to database problem
- Index(es):
Relevant Pages
|