public LLDBA()
        {
            this.svrinfo = new SERVERINFO();
            // if we have a settings.server.xml file present, load the values in.
            settingsClass settings = new settingsClass();
            if (System.IO.File.Exists("settings.server.xml"))
            {
                XmlSerializer s = new XmlSerializer(typeof(settingsClass));
                System.IO.TextReader w = new System.IO.StreamReader(@"settings.server.xml");
                settings = (settingsClass)s.Deserialize(w);
                w.Close();
                this.svrinfo._server = settings.server;
                this.svrinfo._username = settings.userid;
                this.svrinfo._password = settings.password;
                this.svrinfo._dbtype = settings.dbtype;
                this.svrinfo._database = settings.database;
            }

            this.ErrorStatus = 0;
            this.ErrorString = "[None]";
        }
 public LLDBA(string server, string username, string password)
     : this()
 {
     this.svrinfo = new SERVERINFO();
     this.svrinfo._server = server;
     this.svrinfo._username = username;
     this.svrinfo._password = password;
     determineServerType();
 }