示例#1
0
 public static bool Connect(string hostName, string userName, string password, string database)
 {
     DatabaseName = database;
     ConnectionList.Connect(hostName, userName, password, database);
     return(ConnectionList.Connected);
 }