Fixed code that reports the active database in use.
Changed debug output for Forced Pagination Items. Fixed Pagination Logic for Background Documents.
This commit is contained in:
@@ -40,6 +40,7 @@ namespace VEPROMS
|
||||
this.labelCompanyName.Links[0].LinkData = "Volian Enterprises Inc.";
|
||||
this.labelCompanyName.Links.Add(0,23,"www.volian.com");
|
||||
this.labelServer.Text = string.Format("SQL Server: {0}", server);
|
||||
if (databaseName == null) databaseName = Regex.Replace(connectionString, "^.*Initial Catalog=([^;]*);.*$", "$1", RegexOptions.IgnoreCase);
|
||||
this.labelDatabase.Text = string.Format("Database: {0}", databaseName);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user