用ODBC连接到数据库,用以下三个connection string
1. @"Driver={Sql Native client};server=localhost;database=master;trusted_connection=yes;connect timeout=100",2. @"Driver={Sql Native client};server=localhost;database=master;integrated security=SSPI;connect timeout=100",3. @"Driver={Sql Server};server=localhost;database=master;trusted_connection=yes;connect timeout=100",1可以,2/3错误?
有没有高手指点下为什么?
1. @"Driver={Sql Native client};server=localhost;database=master;trusted_connection=yes;connect timeout=100",2. @"Driver={Sql Native client};server=localhost;database=master;integrated security=SSPI;connect timeout=100",3. @"Driver={Sql Server};server=localhost;database=master;trusted_connection=yes;connect timeout=100",1可以,2/3错误?
有没有高手指点下为什么?
解决方案 »
- 请问如何用C#编程获取网页信息?
- 关于时间控件的小问题。
- x86-debug程序在64位机器运行,内存溢出问题
- 普通的字符串怎么转换成十六进制字符串?
- .net最简单的问题,那位朋友帮帮忙,解决下
- 丢失了.exe怎么办????
- for(int i=0;i<arl.Count;i++) 读写 语法怎么读???
- msiexec.exe无法删除文件夹
- C#关于文本框判断日期格式的问题
- 访问Excel遇到的问题
- Form1”是“TcpApplication1”中的类型,不能用作表达式
- C# 请教高手:为什么Button.CausesValidation属性设置为false后,还是会进行Validating?
http://www.cnblogs.com/zhangzheny/archive/2007/04/29/732211.html
http://www.cnblogs.com/cxy521/archive/2008/01/22/1048317.html