public static DbValues GetDatas(String cnName, string sSql) { SqlBase db = NewDB(cnName); db.Connect(); if (!db.IsConnected) { return(null); } DbValues dvs = db.GetDatas(sSql); db.Close(); return(dvs); }