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

Comparing trunk/TSControlPanel/frmConfigureControlPanel.cs (file contents):
Revision 50 by william, Thu Jul 12 14:36:54 2012 UTC vs.
Revision 51 by william, Thu Jul 12 16:21:35 2012 UTC

# Line 25 | Line 25 | namespace AnywhereTS
25              SqlConnection sqlCon = new SqlConnection();
26              try
27              {
28 <                sqlCon.ConnectionString = Properties.Settings.Default.atsConnectionString;
28 >                sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString.Replace("AnywhereTS", "master"));
29                  sqlCon.Open();
30              }
31              catch (SqlException sql_ex)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines