Description: C# detach the database, the separation of the SQL Server database, Enterprise Manager detaching and attaching databases, can achieve in C#, just connect the database information, and then see the example implementation on the line
To Search:
File list (Check if you may need any files):
SeparateSQLServer\SeparateSQLServer\Form1.cs
.................\.................\Form1.Designer.cs
.................\.................\Form1.resx
.................\.................\Program.cs
.................\.................\...perties\AssemblyInfo.cs
.................\.................\..........\Resources.Designer.cs
.................\.................\..........\Resources.resx
.................\.................\..........\Settings.Designer.cs
.................\.................\..........\Settings.settings
.................\.................\SeparateSQLServer.csproj
.................\SeparateSQLServer.sln
.................\SeparateSQLServer.suo
.................\.................\Properties
.................\SeparateSQLServer
SeparateSQLServer