status = string.Format("{0} - {1}, {2},\n CreateDB (Create 'Server' table) returned: {3}, \n{4}", DateTime.Now, System.AppDomain.CurrentDomain.FriendlyName, System.Environment.MachineName, ex1.Message, ex1.StackTrace); System.Diagnostics.EventLog appLog = new System.Diagnostics.EventLog(); appLog.Source = CommonClass.Product; appLog.Log = "Application"; appLog.WriteEntry(status); return (status);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)