NVARCHAR specific methods

  • Thread starter Thread starter VC
  • Start date Start date
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
 
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
 
Back
Top