摘要: 转: 解决应用程序中需要多个SqlDataAdapter对象 tring strConn="uid=账号;pwd=密码;database=数据库;server=服务器";//SQL Server链接字符串 SqlConnection conn=new SqlConnection(strConn); 阅读全文
posted @ 2018-09-03 19:19 todo_something 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 数据库的查询分析器中写上如下代码: create table studentname( id int primary key identity(1,1) not null ,name nvarchar(500) not null) insert into studentname values('lo 阅读全文
posted @ 2018-09-02 23:35 todo_something 阅读(905) 评论(0) 推荐(0) 编辑
摘要: 新建一个表: create table abc ( id int IDENTITY(1,1) NOT NULL, name nvarchar(100) , sex nvarchar(10) ) insert into abc values(‘asf’,'男') insert into abc val 阅读全文
posted @ 2018-09-02 17:24 todo_something 阅读(1813) 评论(0) 推荐(0) 编辑