473,326 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Saving ANSI Character into SQL Server's varchar field

I am trying to type some chinese character into a datagrid then update them
into SQL server using SQLDataAdapter, however it always store??? in the
database.

As my data type in SQL'server is in Varchar format (i cannot change it into
nvarchar format), what should i do ?

Thx a lot

Nov 20 '05 #1
4 2295
Cor
Hi Norton,

One of the things that will led to the solution in my idea is asking this
too in a more specialized newsgroup.

One of them is
Adonet
<news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet>

Web interface:

<http://communities2.microsoft.com/co...s/?dg=microsof
t.public.dotnet.framework.adonet>

However because you only want the Varchar format, maybe you can ask it too
in a newsgroup more specialized in SQL server

I hope you get your results?

Cor
I am trying to type some chinese character into a datagrid then update them into SQL server using SQLDataAdapter, however it always store??? in the
database.

As my data type in SQL'server is in Varchar format (i cannot change it into nvarchar format), what should i do ?

Nov 20 '05 #2
Cor
Hi Norton,

One of the things that will led to the solution in my idea is asking this
too in a more specialized newsgroup.

One of them is
Adonet
<news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet>

Web interface:

<http://communities2.microsoft.com/co...s/?dg=microsof
t.public.dotnet.framework.adonet>

However because you only want the Varchar format, maybe you can ask it too
in a newsgroup more specialized in SQL server

I hope you get your results?

Cor
I am trying to type some chinese character into a datagrid then update them into SQL server using SQLDataAdapter, however it always store??? in the
database.

As my data type in SQL'server is in Varchar format (i cannot change it into nvarchar format), what should i do ?

Nov 20 '05 #3
o......sorry for cross posting

Thx for your help
"Cor" <no*@non.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Hi Norton,

One of the things that will led to the solution in my idea is asking this
too in a more specialized newsgroup.

One of them is
Adonet
<news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet>

Web interface:

<http://communities2.microsoft.com/co...s/?dg=microsof t.public.dotnet.framework.adonet>

However because you only want the Varchar format, maybe you can ask it too
in a newsgroup more specialized in SQL server

I hope you get your results?

Cor
I am trying to type some chinese character into a datagrid then update

them
into SQL server using SQLDataAdapter, however it always store??? in the
database.

As my data type in SQL'server is in Varchar format (i cannot change it

into
nvarchar format), what should i do ?


Nov 20 '05 #4
o......sorry for cross posting

Thx for your help
"Cor" <no*@non.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Hi Norton,

One of the things that will led to the solution in my idea is asking this
too in a more specialized newsgroup.

One of them is
Adonet
<news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet>

Web interface:

<http://communities2.microsoft.com/co...s/?dg=microsof t.public.dotnet.framework.adonet>

However because you only want the Varchar format, maybe you can ask it too
in a newsgroup more specialized in SQL server

I hope you get your results?

Cor
I am trying to type some chinese character into a datagrid then update

them
into SQL server using SQLDataAdapter, however it always store??? in the
database.

As my data type in SQL'server is in Varchar format (i cannot change it

into
nvarchar format), what should i do ?


Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: aa | last post by:
Is it OK to include an ANSI file into a UTF-8 file?
1
by: muesliflakes | last post by:
I'm trying to generate a normalized XML document out of SQL server that reflects the data structure of a table. Eg. This is what I would like to get <table name='MtFeedback'> <field...
7
by: Philipp Lenssen | last post by:
How do I load and save a UTF-8 document in XML in ASP/VBS? Well, the loading* is not the problem actually -- the file is in UTF-8, and understood correctly -- but once saved, the UTF-8 is...
2
by: Norton | last post by:
I am trying to type some chinese character into a datagrid then update them into SQL server using SQLDataAdapter, however it always store??? in the database. As my data type in SQL'server is in...
7
by: Gav | last post by:
If you had a class user with variables id, name, password. How would you save this object or its variable date to a MySQL database? And then if you had a dbase populated with id, name, password and...
1
by: Philip Bondi | last post by:
Hello to all SQL Server junkies who work with non-English characters: For people running scripts from the command line using ANSI files with special characters, it is very important to use isql...
0
NeoPa
by: NeoPa | last post by:
ANSI-89 v ANSI-92 Before we get into all the various types of pattern matching that can be used, there are two ANSI standards used for the main types of wildcard matching (matching zero or more...
1
by: David Greenberg | last post by:
Hi I have a character field (char ot varchar) that I want to force only to contain numeric characters. Can that be done by way of defining a constraint on the field ? or by any other way in the...
2
by: Marco Pais | last post by:
Hi there. I'm developing a small application that uses Web Services to access database and store data. At some point, I store some images, by inserting the absolute image path into a varchar...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.