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 49 by william, Thu Jul 12 14:17:14 2012 UTC vs.
Revision 50 by william, Thu Jul 12 14:51:57 2012 UTC

# Line 267 | Line 267 | namespace AnywhereTS
267                  {
268                      using (log4net.NDC.Push(string.Format("SQL Statment={0}", "SELECT value from AnywhereTS..AppInfo where property='version'")))
269                      {
270 <                        Logging.ATSAdminLog.Debug("Gettting AnywhereTS Database Version");
270 >                        Logging.ATSAdminLog.Debug("Getting AnywhereTS Database Version#1");
271                          sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString);
272                          if (sqlCon.State != ConnectionState.Open) sqlCon.Open();
273                          sqlCmd = new SqlCommand("SELECT value from AnywhereTS..AppInfo where property='version'", sqlCon);
# Line 298 | Line 298 | namespace AnywhereTS
298  
299                          using (log4net.NDC.Push(string.Format("SQL Statment={0}", "SELECT value from AnywhereTS..AppInfo where property='version'")))
300                          {
301 <                            Logging.ATSAdminLog.Debug("Gettting AnywhereTS Database Version");
301 >                            Logging.ATSAdminLog.Debug("Getting AnywhereTS Database Version#2");
302                              sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString);
303                              if (sqlCon.State != ConnectionState.Open) sqlCon.Open();
304                              sqlCmd = new SqlCommand("SELECT value from AnywhereTS..AppInfo where property='version'", sqlCon);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines