Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Problem with unicode

$
0
0
Hi,
when doing the insert using these
                    cmd = new SqlCommand("insert into dbo.ite_tab (...,area,...) values (...,@area,...)", conn);
                    ...
                    cmd.Parameters.Add("@area", SqlDbType.NVarChar).Value = area_ddl.SelectedItem.ToString();

I am getting this in the table column in the DB,
中?

while the relevant Dropdownlist is having

中国

inside. why?

Many Thanks & Best Regards, Hua Min


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>