void LoadDatabases()
		{
			SQLInfoEnumerator s = new SQLInfoEnumerator();
			s.Password = Password.Text;
			s.Username = Username.Text;
			s.SQLServer = Server.Text;
			DatabaseList.Items.Clear();
			foreach (string db in s.EnumerateSQLServersDatabases())
				DatabaseList.Items.Add(db);
		}
Exemplo n.º 2
0
        void LoadDatabases()
        {
            SQLInfoEnumerator s = new SQLInfoEnumerator();

            s.Password  = Password.Text;
            s.Username  = Username.Text;
            s.SQLServer = Server.Text;
            DatabaseList.Items.Clear();
            foreach (string db in s.EnumerateSQLServersDatabases())
            {
                DatabaseList.Items.Add(db);
            }
        }