Exemplo n.º 1
0
        private bool DatabaseExists(IOrderedDictionary values)
        {
            string errorMessage = string.Empty;

            if (!DatabaseProvider.DatabaseExists(values["Name"].ToString(), values["UserName"].ToString(), values["Password"].ToString(), (Guid)Support.ConvertStringToType(values["DatabaseServerId"].ToString(), typeof(Guid)), out errorMessage))
            {
                this.ErrorPanel.InnerHtml = errorMessage;
                this.ErrorPanel.Visible   = true;

                return(false);
            }
            return(true);
        }