NVARCHAR specific methods

V

VC

Hi,
I have a C#.NET test application that connects to a Sybase backend database
which has a table with a field type NVARCHAR (100). This has some ASIAN
characters stored in it. The data was loaded using BCP and shows up fine
when using SYBASE tools (GUI)
I am using Sybase ADO.NET for the DB calls from my C#.NET application.
I am not able to read back the value as in the db (reads some gibberish :( )
if I use GetValue().ToString. Is there anything specific that I might be
missing. Are there any specific methods to be used while reading back
NVARCHAR

Any ideas from who might have chartered these waters would be greatly
appreciated.

Thanks in advance,
~vc
 
S

Stephen Howe

VC said:
Hi,
I have a C#.NET test application that connects to a Sybase backend
database

Right. In that case you want to _NOT_ post to microsoft.public.data.ado
That newsgroup is for classic ADO, not ADO.NET

Followups set.

Stephen Howe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top