B
baobao2601
Unregistered / Unconfirmed
GUEST, unregistred user!
DELPHI中的连接字符串为<br>Provider=SQLOLEDB.1;Password=123456;Persist Security Info=True;User ID=sa;Initial Catalog=MSADATA;Data Source=CHINA;Auto Translate=False<br><br>改为ASP.NET中(C#语言) <br> System.Data.SqlClient.SqlConnection con = new SqlConnection("server=CHINA;database=MSADATA;uid=sa;pwd=123456;Auto Translate=False"<br>运行有错误,说不能识别关键字Auto Translate=False<br><br>如果只为 System.Data.SqlClient.SqlConnection con = new SqlConnection("server=CHINA;database=MSADATA;uid=sa;pwd=123456"则运行通过但是出现乱码.<br><br>请问一下在ASP.NET中连接字符串如何添加Auto Translate=False<br><br> 谢谢!!