/[AnywhereTS-MSSQL]/trunk/TSAdminTool/ProSupport.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/ProSupport.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/TSAdminTool/ProSupport.cs	2012/07/11 14:19:13	4
+++ trunk/TSAdminTool/ProSupport.cs	2012/07/11 16:36:27	16
@@ -127,18 +127,18 @@
         // Initiate the database
         public static void InitDatabase()
         {
-            // Create and set the connection string
-            string dataServerName; // The name of the database server in the connection string
-            if (strDatabaseServer.Length != 0)
-            {   // We have a database server
-                dataServerName = strDatabaseServer;
-            }
-            else
-            {   // We do not have an external, data server.
-                dataServerName = ".";
-            }
-            Properties.Settings.Default["atsConnectionString"] = @"Data Source=" + dataServerName + @"\SQLEXPRESS;Database='AnywhereTS';Integrated Security=True;Connect Timeout=30;User Instance=False";
-            Properties.Settings.Default.Save();
+            //// Create and set the connection string
+            //string dataServerName; // The name of the database server in the connection string
+            //if (strDatabaseServer.Length != 0)
+            //{   // We have a database server
+            //    dataServerName = strDatabaseServer;
+            //}
+            //else
+            //{   // We do not have an external, data server.
+            //    dataServerName = ".";
+            //}
+            //Properties.Settings.Default["atsConnectionString"] = @"Data Source=" + dataServerName + @"\SQLEXPRESS;Database='AnywhereTS';Integrated Security=True;Connect Timeout=30;User Instance=False";
+            //Properties.Settings.Default.Save();
             
             // Set up table adapters
             clientTableAdapter = new atsDataSetTableAdapters.ClientTableAdapter();

 

  ViewVC Help
Powered by ViewVC 1.1.22