ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/AnywhereTS-MSSQL/trunk/TSAdminTool/Database.cs
(Generate patch)

Comparing trunk/TSAdminTool/Database.cs (file contents):
Revision 24 by william, Wed Jul 11 20:15:18 2012 UTC vs.
Revision 25 by william, Wed Jul 11 20:39:32 2012 UTC

# Line 67 | Line 67 | namespace AnywhereTS
67                      sqlCon.Open();
68                      RunScript(Resource1.CreateTables.ToString());
69                      sqlCon.Close();
70 <                    sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString);
71 <                    sqlCon.Open();
70 >                    //sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString);
71 >                    //sqlCon.Open();
72                  }
73                  catch (SqlException sql_ex1)
74                  {
# Line 82 | Line 82 | namespace AnywhereTS
82              Version databaseVersion; // The current version of the database
83              int chkVer = CheckVersion(out databaseVersion);
84              VersionCheck verChk = (VersionCheck)chkVer;
85 <            //MessageBox.Show(string.Format("Version Check: {0} Version: {1}", verChk.ToString(), databaseVersion.ToString()));
85 >            MessageBox.Show(string.Format("Version Check: {0} Version: {1}", verChk.ToString(), databaseVersion.ToString()));
86              switch (chkVer)
87              {
88                  case (int)VersionCheck.Equal:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines