[HELP] With Guilds Not Saving

07/06/2009 19:20 Pete1990#1
Ok when i have 2 connects to the database.cs This way if one messes up it will just reconnect and when i have 2 my guilds didnt save can someone posable give me an answer or something to help me make it save?

HTML Code:
 public static bool Connect2(string user, string pass)
        {
            try
            {
                LoginConnection = new MySqlConnection("Server='localhost';Database='coproj';Username='" + user + "';Password='" + pass + "'");
                LoginConnection.Open();
                return true;
            }
            catch
            {
                return false;
            }
        }