吉春虎

导航

 

Q:访问oracle 查询条件带汉字结果集为空的问题

A:数据库连接字符串中加入Unicode=true即可。 如

<add key="DbConnectionString" value="Data Source=db; User ID=taida;Password=taida;Integrated Security=no;Enlist=false;Pooling=true;Unicode=true" />

posted on 2014-11-14 16:08  吉春虎  阅读(159)  评论(0编辑  收藏  举报