C#使用SQL语句备份跟恢复数据库
//备份数据库 [HttpGet] public bool BackupDB(string UserName) { bool a = false; SqlConnection conn = new SqlConnection(DbHelper.ConnectionString); SqlCommand cmdBK = new SqlCommand(); ...