Display the SQL Code Revision in the About form

Added Code to Purge Disconnected Data to the Admin Tool
This commit is contained in:
Rich
2016-02-26 16:08:16 +00:00
parent 4909cf689f
commit a83ac512bd
2 changed files with 68 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ namespace VEPROMS
Match mServer = Regex.Match(connectionString,".*Data Source=([^;]*).*");
string server = (mServer.Success)?mServer.Groups[1].Value:"unknown";
if (server.StartsWith(@".\")) server = @"Local \ " + server.Substring(2);
string databaseName = Database.ActiveDatabase;
string databaseName = string.Format("{0}[SQL:{1:yyMM.ddHH}]", Database.ActiveDatabase, Database.RevDate);
this.Text = String.Format("About {0}", AssemblyTitle + " " + demoTxt);
this.labelProductName.Text = AssemblyProduct;
this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);