public static DbResult IsHasRow_R(String cnName, string sSql) { SqlBase db = NewDB(cnName); db.Connect(); if (!db.IsConnected) { return(new DbResult(db)); } DbResult dr = db.IsHasRow_R(sSql, cnName); db.Close(); return(dr); }