摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2020-01-20 17:31 monkey6 阅读(341) 评论(0) 推荐(0) 编辑
摘要: C#中连接字符串包含以下内容 参数 说明 Provider 设置或者返回提供的连接程式的名称,仅用于OLeDbConnection对象 Connection Timeout 在终止尝试并产生异常前,等待连接到服务器的连接时间长度(以秒为单位)。默认值是15秒 Initial Catalog或Data 阅读全文
posted @ 2020-01-20 16:37 monkey6 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 使用Sql Server management studio的sa用户连接数据库时,报如下错误 解决方法: 1.使用windows验证登录 2.右键点击连接,点击属性,点击安全性,选择混合验证 3.重启SQLSERVER服务,找到组态管理员,重启服务 以上步骤完成后,再次连接,出现【用户 'sa' 阅读全文
posted @ 2020-01-20 16:15 monkey6 阅读(329) 评论(0) 推荐(0) 编辑