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:
@@ -121,6 +121,7 @@ namespace Volian.Controls.Library
|
||||
if (server.StartsWith(@".\")) server = @"Local \ " + server.Substring(2);
|
||||
string databaseName = Database.SelectedDatabase;
|
||||
sb.Append(string.Format("SQL Server: {0}", server));
|
||||
if (databaseName == null) databaseName = Regex.Replace(connectionString, "^.*Initial Catalog=([^;]*);.*$", "$1", RegexOptions.IgnoreCase);
|
||||
sb.AppendLine(string.Format("\t\tDatabase: {0}", databaseName));
|
||||
if (OutlookEmail)
|
||||
sb.AppendLine("sent via outlook");
|
||||
|
Reference in New Issue
Block a user