Display the SQL Code Revision in the About form
Added Code to Purge Disconnected Data to the Admin Tool
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user