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

Diff of /trunk/TSAdminTool/Database.cs

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

--- trunk/TSAdminTool/Database.cs	2012/07/11 20:15:18	24
+++ trunk/TSAdminTool/Database.cs	2012/07/11 20:39:32	25
@@ -67,8 +67,8 @@
                     sqlCon.Open();
                     RunScript(Resource1.CreateTables.ToString());
                     sqlCon.Close();
-                    sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString);
-                    sqlCon.Open();
+                    //sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString);
+                    //sqlCon.Open();
                 }
                 catch (SqlException sql_ex1)
                 {
@@ -82,7 +82,7 @@
             Version databaseVersion; // The current version of the database
             int chkVer = CheckVersion(out databaseVersion);
             VersionCheck verChk = (VersionCheck)chkVer;
-            //MessageBox.Show(string.Format("Version Check: {0} Version: {1}", verChk.ToString(), databaseVersion.ToString()));
+            MessageBox.Show(string.Format("Version Check: {0} Version: {1}", verChk.ToString(), databaseVersion.ToString()));
             switch (chkVer)
             {
                 case (int)VersionCheck.Equal:

 

  ViewVC Help
Powered by ViewVC 1.1.22