用系统存储过程Sp_attach_db 来附加数据库;
用系统存储过程sp_addlogin 来新增帐号

添加用户:

 1在C#代码中实现在Sqlserver2000中添加用户以及附加数据库public bool AddUser(string cUserName,string Password,string DB)
 2}

附加数据库雷同

相关文章: