摘要: C#连接SQL Server 2005 Express的字符串//下面就是标准的连接,注意SERVER是我的计算机名。SQLEXPRESS是数据库实例。SSPI表示使用Windows登陆的帐户。master是要连接的数据库。//string cstr = "server=SERVER//SQLEXPRESS;Initial Catalog=master;Integrated Security=SSPI";//不使用远程连接的时候应该把连接字符串改为:"Server=localhost//SQLExpress;Integrated Security=SSPI&quo 阅读全文
posted @ 2008-07-19 23:56 William Zhao 阅读(209) 评论(0) 推荐(0) 编辑