Internally .NET strings are already Unicode. All you need to do is type the
stored procedure's parameter as nvarchar or nchar.

Signature
Klaus H. Probst, MVP
http://www.simulplex.net/
hi klaus
> Internally .NET strings are already Unicode. All you need to do is type the
> stored procedure's parameter as nvarchar or nchar.
[quoted text clipped - 6 lines]
> >
> > Any idea?
my parameter is nvarchar,but my really problem is that the "standard string"
which i brought it from utf-8 file,didn't convert correctly to unicode
string in .net
Adam May - 20 Mar 2006 00:46 GMT
Hi tvin,
Have a look at the GetBytes method of System.Text.UnicodeEncoding.
Adam

Signature
Adam May
Sydney, Australia
MCSD.Net
> hi klaus
>
[quoted text clipped - 12 lines]
> which i brought it from utf-8 file,didn't convert correctly to unicode
> string in .net